-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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] [CSharp] Api methods generates without variable name #19502
Comments
Using the latest master I am not able to duplicate this problem. Where do you specify what generator to use? |
My mistake, this is the real openapi-dotnet.yaml content:
What I wrote on the first message was the openapitools.json content. |
Still can't duplicate this problem with the latest master. |
Can you tell me how you do it? |
Bug Report Checklist
Description
Hello, so I've updated from 7.0.1 to 7.8.0 and weirdly the constructor variables are without name...
I was expecting it not to change anything aside from the methods I joined in a previous PR.
I've tested the versions and with started happening from 7.5.0 upwards.
openapi-generator version
7.8.0
OpenAPI declaration file content or url
Here the Yaml I'm using.
https://gist.github.com/filipe-silva/bfe824f2a6b2ea170cd29ea4c326ab4d
Generation Details
Steps to reproduce
Simply generate the code using the terminal:
npx @openapitools/openapi-generator-cli generate -c openapi-dotnet.yaml
openapi-dotnet.yaml content:
Suggest a fix
Couldn't figure out what was the breaking change, if someone can point me in the right direction I'll fix it.
The text was updated successfully, but these errors were encountered: