-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
[BUG] missing 1 required positional argument #3345
Comments
👍 Thanks for opening this issue! The team will review the labels and make any necessary changes. |
I am having this issue as well, does anyone know a quick patch to the generated code? @FFY00 |
Oh I see, it is adding arguments for the request body with the param arguments. So I can just delete those. |
Looks to me to be the same as #1666 There are some workarounds mentioned in that older issue. |
The same happens when generating https://github.com/jdegre/5GC_APIs/blob/master/TS29573_N32_Handshake.yaml It generates:
As a workaround, the generated code can be manually changed to:
In #1666 are mentioned also workarounds like editing yaml file or applying template. |
Bug Report Checklist
Description
openapi-generator is generating invalid python-flask code.
openapi-generator version
OpenAPI declaration file content or url
Command line used for generation
Steps to reproduce
And in the server log
The text was updated successfully, but these errors were encountered: