-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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] [PYTHON] Invalid function names based on strings containing # and digits #13942
Closed
5 of 6 tasks
Labels
Comments
syntaxaire
changed the title
[BUG] [PYTHON] Invalid class names based on strings containing # and digits
[BUG] [PYTHON] Invalid function names based on strings containing # and digits
Nov 7, 2022
Sample spec is:
|
6 tasks
5 tasks
@syntaxaire fixed! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report Checklist
Description
Invalid function names are generated from
enum
string values resembling"#367B9C"
.openapi-generator version
latest
via docker CLIOpenAPI declaration file content or url
Minimal reproduction: gist, validated with vacuum
Generation Details
docker run --rm -v ${PWD}:/local openapitools/openapi-generator-cli:latest generate --global-property skipFormModel=false -i /local/color-names.json -g python -o /local/openapi-client
Steps to reproduce
After generating, install generated code and run
pytest
.Output:
The text was updated successfully, but these errors were encountered: