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
Using oneOf and properties in parallel does not cause any particular problem with orval type generation, for example.
Thus, ideally, the openapi-parser validation should also pass.
The text was updated successfully, but these errors were encountered:
tomo-kn
changed the title
Bug: oneOf with shared properties fails validation
[Bug] oneOf with shared properties fails validation
Oct 9, 2023
tomo-kn
changed the title
[Bug] oneOf with shared properties fails validation
[Bug? or Feature?] oneOf with shared properties fails validation
Oct 9, 2023
Failure that occurred
Validation fails when using
oneOf
andproperties
in parallel.Solution.
If you change the schema to use
oneOf
withinproperties
instead of usingoneOf
andproperties
in parallel, the validation will work correctly.Expected results
Using
oneOf
andproperties
in parallel does not cause any particular problem withorval
type generation, for example.Thus, ideally, the
openapi-parser
validation should also pass.The text was updated successfully, but these errors were encountered: