smard-api
smard-api copied to clipboard
Fix code generation
Currently the code generation fails, probably because of one of the possible region parameters ('50HERTZ') starting with a number.
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
Thats a tough one. Maybe the new released generator handles this for us. Would be worth to give it a shot.
I'll try to test it next week
Sorry I hadn't had any chance to look into that and probably won't be able to in the next time