This repository was archived by the owner on Dec 25, 2024. It is now read-only.
This repository was archived by the owner on Dec 25, 2024. It is now read-only.
[REQ] Add support for ranged response codes 1XX .. #149
Closed
Description
Is your feature request related to a problem? Please describe.
Add support for ranged response codes 1XX ..
Describe the solution you'd like
To get this working one will need to:
- first check if the response code is in the defined set of explicit codes like 202 404 etc
- then check if the response matches any defined wildcard responses, like 2XX 3XX
- then use a fallback default response if it exists
I am exposing the needed info:
- defaultResonse
- statusCodeResponses 202, 404 etc
- wildcardCodeResponses 2, 3, etc
In this PR: #97
which will make it easy to add this feature later.
Describe alternatives you've considered
Additional context
This issue was created by:
OpenAPITools/openapi-generator#14090
Metadata
Metadata
Assignees
Labels
No labels