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

Fix code generation #14

Open
lukaspanni opened this issue Oct 7, 2022 · 3 comments
Open

Fix code generation #14

lukaspanni opened this issue Oct 7, 2022 · 3 comments

Comments

@lukaspanni
Copy link
Contributor

Currently the code generation fails, probably because of one of the possible region parameters ('50HERTZ') starting with a number.
grafik

I don't know how to fix this without changes to the code generator or leaving out the 50HERTZ parameter in the openapi definition.
There is just a mismatch between strings that are allowed as API parameters and strings allowed as identifies (class/function ... names) in python

@wirthual
Copy link
Member

wirthual commented Oct 7, 2022

Thats a tough one. Maybe the new released generator handles this for us. Would be worth to give it a shot.

@lukaspanni
Copy link
Contributor Author

I'll try to test it next week

@lukaspanni
Copy link
Contributor Author

Sorry I hadn't had any chance to look into that and probably won't be able to in the next time

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

No branches or pull requests

2 participants