You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of v4 of the draft, there is no direct possibility to use allOf in combination with "additionalProperties" = false, see here.
Currently one has to duplicate the properties with empty objects to get around this. But this makes the documentation quite ugly, see an example here. Would it be possible to check whether properties are defined in the allOf section (of course resolving $refs) and omitting them?
Not sure if there is currently enough momentum behind v5 to get it published and then implemented here as well as the commonly used validators.
The text was updated successfully, but these errors were encountered:
As of
v4
of the draft, there is no direct possibility to useallOf
in combination with"additionalProperties" = false
, see here.Currently one has to duplicate the properties with empty objects to get around this. But this makes the documentation quite ugly, see an example here. Would it be possible to check whether properties are defined in the
allOf
section (of course resolving$ref
s) and omitting them?Not sure if there is currently enough momentum behind
v5
to get it published and then implemented here as well as the commonly used validators.The text was updated successfully, but these errors were encountered: