-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Closed
Description
Description
In Rust the correct way to escape a reserved word is to use raw identifiers:
https://doc.rust-lang.org/book/appendix-01-keywords.html#raw-identifiers
Currently they are being prefixed with _ which in Rust is used to indicate an unused identifier:
openapi-generator version
All versions as far as I am aware:
Related issues/PRs
A similar issue was created for Rust Server (not Rust client), which correctly identified the issue with using _ but applied the prefix of param_ instead:
Suggest a fix/enhancement
I will create a PR to fix this
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels