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
In OpenAPI, we can describe response status codes like this.
responses:
'200':
description: OK'4XX':
description: Bad request.'5XX':
description: Unexpected error.
The 4XX/5XX part is called range of response codes syntax in the OpenAPI spec and it is completely valid. However, runn gives error like the following;
Failure/Error: http request failed on "*** openapi3 validation error: Error: POST operation request response code '404' does not exist, Reason: The reponse code '404' of the POST request submitted has not been defined, it's an unknown type, Line: ***, Column: ***
In OpenAPI, we can describe response status codes like this.
The
4XX
/5XX
part is called range of response codes syntax in the OpenAPI spec and it is completely valid. However, runn gives error like the following;ref.) https://swagger.io/docs/specification/describing-responses/
(I have not confirmed yet, but it seems pb33f/libopenapi does not support the syntax.)
The text was updated successfully, but these errors were encountered: