Skip to content
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
@spacether

Description

@spacether

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions