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
If type keyword co-occurs with enum, oneOf, or anyOf, we should be able to "narrow" the choices based on that type.
e.g.
{"type": "string", "enum": ["1", "2", 3]}
->
{"enum": ["1", "2"]}
Note: we in general need to add "intersection" logic like this... e.g. $ref plus properties can be joined into a single schema. More general problem: allOf
The text was updated successfully, but these errors were encountered:
If
type
keyword co-occurs withenum
,oneOf
, oranyOf
, we should be able to "narrow" the choices based on that type.e.g.
->
Note: we in general need to add "intersection" logic like this... e.g.
$ref
plusproperties
can be joined into a single schema. More general problem:allOf
The text was updated successfully, but these errors were encountered: