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
Describe the bug
'false' response bodies are failing validation in OpenApi 2 and OpenApi 3.
nullable responses bodies are failing validation in OpenApi 3
To Reproduce
Steps to reproduce boolean failure:
Create a spec with a boolean body response (OpenApi2/OpenApi3)
Attempt to validate a 'false' response
Notice the validation fails
Steps to reproduce nullable failure:
Create a spec with a nullable body response (OpenApi3)
Attempt to validate a null response
Notice the validation fails
Expected behavior
null and false values should be valid response bodies as allowed by the OpenApi specs
The text was updated successfully, but these errors were encountered:
OpenAPI version
OpenApi 2 and OpenApi 3
Describe the bug
'false' response bodies are failing validation in OpenApi 2 and OpenApi 3.
nullable responses bodies are failing validation in OpenApi 3
To Reproduce
Steps to reproduce boolean failure:
Steps to reproduce nullable failure:
Expected behavior
null and false values should be valid response bodies as allowed by the OpenApi specs
The text was updated successfully, but these errors were encountered: