Forum Discussion
HKosova
5 years agoSmartBear Alumni (Retired)
In OpenAPI 3.0 you can use ranges such as "2XX", "3XX", "4XX" instead of individual status codes:
responses:
'202':
description: OK
'4XX': # <-------
$ref: "#/components/responses/HTTPError"
'default':
$ref: "#/components/responses/ApplicationError"
Related Content
- 2 years ago
- 3 years ago
- 6 years ago
Recent Discussions
- 2 days ago
- 8 days ago