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
I was super stoked to discover the oneOf property in the Schema definition, since we have a major use case for it in our API, but then I discovered just now that the Swagger 2.0 spec doesn't support it: OAI/OpenAPI-Specification#525
Rather than confuse others who, like me, might jump on the chance to use this and then find their Swagger docs breaking validation, it would probably be better to remove all unsupported properties from @SWG\Schema.
The text was updated successfully, but these errors were encountered:
I was super stoked to discover the
oneOf
property in the Schema definition, since we have a major use case for it in our API, but then I discovered just now that the Swagger 2.0 spec doesn't support it: OAI/OpenAPI-Specification#525The discussion at OAI/OpenAPI-Specification#333 reveals that the list of unsupported properties is:
Rather than confuse others who, like me, might jump on the chance to use this and then find their Swagger docs breaking validation, it would probably be better to remove all unsupported properties from @SWG\Schema.
The text was updated successfully, but these errors were encountered: