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
The schema should not have anyOf and oneOf according to Swagger specs. Swagger is designed to have predictable response objects. This helps tools like SDK generators work accurately.
See: http://json-schema.org/latest/json-schema-validation.html#anchor88
Example
Expected
Either:
{"aWordOrNumber":{"myWord": "foobar"}}
or{"aWordOrNumber":{"myNumber": 1}}
Actual
{"aWordOrNumber":{}}
The text was updated successfully, but these errors were encountered: