You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
[Nim] Generated code does not compile if one schema constains a keyword 'enum' and one of the enum values is not a valid Nim identifier.
Identifier validity of Nim is not respected, code can not compile.
sandwoodK
changed the title
[BUG] [Nim] Generated code does not compile if one schema constains a keyword 'enum' and one of the enum values is not a valid Nim identifier
[BUG] [Nim] Generated code does not compile if one schema contains a keyword 'enum' and one of the enum values is not a valid Nim identifier
Mar 3, 2025
Bug Report Checklist
Description
[Nim] Generated code does not compile if one schema constains a keyword 'enum' and one of the enum values is not a valid Nim identifier.
Identifier validity of Nim is not respected, code can not compile.
openapi-generator version
7.11, master.
OpenAPI declaration file content or url
Generation Details
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -g nim -i ~/mre.json -o ~/mre_client
Steps to reproduce
cd ~/mre_client
nim compile sample_client.nim
Related issues/PRs
None
Suggest a fix
The text was updated successfully, but these errors were encountered: