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
When running curl -d '{}' -H "Content-Type: application/json" http://0.0.0.0:8081/api/
I expected 200 code, since key is not marked as required.But, instead, I get: 400: {"body": {"key": "fail to validate oneOf"}}
The text was updated successfully, but these errors were encountered:
Hello! I have an issue with describing an optional property with oneOf keyword.
Given a code:
When running
curl -d '{}' -H "Content-Type: application/json" http://0.0.0.0:8081/api/
I expected 200 code, since
key
is not marked as required.But, instead, I get:400: {"body": {"key": "fail to validate oneOf"}}
The text was updated successfully, but these errors were encountered: