Closed dsinghvi closed 3 weeks ago
The OpenAPI parser now handles the default status code
default
In OpenAPI, you can use default to cover all unlisted status codes. The example below shows how default can be used as an error schema.
If you specify default with no other status codes, its technically both a success + error schema. This PR handles this case.
The OpenAPI parser now handles the
default
status codeIn OpenAPI, you can use
default
to cover all unlisted status codes. The example below shows howdefault
can be used as an error schema.If you specify default with no other status codes, its technically both a success + error schema. This PR handles this case.