bundesAPI / bundesAPI/smard-api
Fix code generation
- Dominant language
- Python
- Stars
- 94
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Research direction
No source files or tests are named. Start by reproducing code generation with the OpenAPI region parameter "50HERTZ" and inspect how the Python generator converts API parameter values into identifiers; done means generation succeeds while preserving the valid API parameter.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi, python
- Domain
- api, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100