Version information
v0.2.24
Describe the bug
In HTTP, 200 is a response code which normally comes with a body.
Response code 204 means that the response doesn't have any content. This is often the most appropriate response code for the HTTP DELETE requests.
Similarly 201 is a more appropriate response for POST requests.
Forcing to add a 200 response code for all requests doesn't make sense. Any 2xx should suffice.
To Reproduce
Add a path and a delete operation any openapi.yaml. Define a 204 response but not a 200 response. This is pretty normal. See it not to work.
Expected behavior
Any 2xx response should be enough to go through the validation.
Additional context
None
Version information
v0.2.24
Describe the bug
In HTTP, 200 is a response code which normally comes with a body.
Response code 204 means that the response doesn't have any content. This is often the most appropriate response code for the HTTP DELETE requests.
Similarly 201 is a more appropriate response for POST requests.
Forcing to add a 200 response code for all requests doesn't make sense. Any 2xx should suffice.
To Reproduce
Add a path and a delete operation any openapi.yaml. Define a 204 response but not a 200 response. This is pretty normal. See it not to work.
Expected behavior
Any 2xx response should be enough to go through the validation.
Additional context
None