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
Sometime we have data structures which can be inherited in every way except for whether or not parts of them are required. For example, if you POST a request then this may have empty fields filled in with defaults, and the returned data could be always fully returned. Having required work on parts from an schema while using anyOf would be fantastic, and appears to be intended: OAI/OpenAPI-Specification#1870
Sometime we have data structures which can be inherited in every way except for whether or not parts of them are required. For example, if you POST a request then this may have empty fields filled in with defaults, and the returned data could be always fully returned. Having
required
work on parts from an schema while usinganyOf
would be fantastic, and appears to be intended:OAI/OpenAPI-Specification#1870
Example:
Right now this outputs:
But I would expect something more like:
The text was updated successfully, but these errors were encountered: