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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Python] Incorrect return types if multiple responses are defined #7426

Closed
ksvirkou-hubspot opened this issue Sep 15, 2020 · 1 comment · Fixed by #7427
Closed

[Python] Incorrect return types if multiple responses are defined #7426

ksvirkou-hubspot opened this issue Sep 15, 2020 · 1 comment · Fixed by #7427

Comments

@ksvirkou-hubspot
Copy link
Contributor

ksvirkou-hubspot commented Sep 15, 2020

Description

If you define multiple responses, the codegen will only support the first one (typically 200).

openapi-generator version

5.0.0-SNAPSHOT

OpenAPI declaration file content or url

Снимок экрана 2020-09-17 в 16 24 12

Correctly generate the return-object based on the HTTP Status Code in the Response.

Similar Issue for PHP

link

@ksvirkou-hubspot
Copy link
Contributor Author

PR

#7427

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

Successfully merging a pull request may close this issue.

2 participants