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 I tried to generate swift client for yaml file contains different types of responses. For example:
responses:
'200':
description: OK
'400':
description: Bad request. User ID must be an integer and larger than 0.
'401':
description: Authorization information is missing or invalid.
'404':
description: A user with the specified ID was not found.
'5XX':
description: Unexpected error.
It will generate only 200 response. How to generate another responses?
The text was updated successfully, but these errors were encountered:
Is it correct to say that these error descriptions are included in the HTTP response body? If yes, then I think the exception should probably contain the "description" (at least that's how we do it in Ruby, PHP, C#, etc client)
Description
When I tried to generate swift client for yaml file contains different types of responses. For example:
It will generate only 200 response. How to generate another responses?
The text was updated successfully, but these errors were encountered: