Open eliaslevy opened 4 years ago
allOf schemas using multiple conditional schemas using if, then, and else cannot be merged. E.g.
allOf
if
then
else
allOf: - if: { properties: { foo: { const: true } } } then: { required: [ bar ] } - if: { properties: { xyz: { const: true } } } then: { required: [ abc ] }
There is no way to write a resolver for if and then.
If would be useful to have an option that tell the library to skip trying to resolve certain schema keys and leave them in the allOf.
allOf
schemas using multiple conditional schemas usingif
,then
, andelse
cannot be merged. E.g.There is no way to write a resolver for
if
andthen
.If would be useful to have an option that tell the library to skip trying to resolve certain schema keys and leave them in the
allOf
.