Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OpenApiCommon] Support Status code range #724

Open
Gounlaf opened this issue Apr 24, 2023 · 1 comment
Open

[OpenApiCommon] Support Status code range #724

Gounlaf opened this issue Apr 24, 2023 · 1 comment

Comments

@Gounlaf
Copy link
Contributor

Gounlaf commented Apr 24, 2023

Hi 馃憢 ,

I've recently take a deeper look in generated code and saw my status code 4XX transformed as 4.
I don't know if it's a bug, or if it has never been handled.

v2 spec (Responses Object -> Patterned Fields) doesn't describe it (and I don't not if it support it), but v3 and v3.1 state it clearly.

Can you support it?

I think could make a PR.

Regards.

@Korbeil
Copy link
Member

Korbeil commented Sep 22, 2023

Hey @Gounlaf and thanks for you report. I do think we never handled such stuff and it's a good idea to handle them cleaning, it shouldn't be hard to do so in my opinion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants