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
{{ message }}
Repository navigation
Failures in oneOf, anyOf, etc, are actually in the referenced schema #126
If a schema is invalid, it will cause a oneOf to fail instead of failing on its own. I discovered this while thinking optional was a valid thing.
The below is valid except I've added optional to Dog. The failure is now On instance['paths']['/pets']['patch']['requestBody'] instead of the expected ['components']['schemas']['Dog'].
Activity
Altreus commentedon May 19, 2021
A workaround is to replace all refs with a simple object; then it will validate all of the schemata without getting tripped up by a ref.
Fixed requirement to avoid currently open issue: python-openapi/opena…
Delete sample (#19)
JulienPalard commentedon Sep 2, 2021
Is this fixed by #129?
It can be tried easily using: