Skip to content
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

problems with "-" on definitions #99

Closed
fphilip opened this issue Dec 8, 2020 · 3 comments · Fixed by #100
Closed

problems with "-" on definitions #99

fphilip opened this issue Dec 8, 2020 · 3 comments · Fixed by #100

Comments

@fphilip
Copy link

fphilip commented Dec 8, 2020

Hi
My old swagger file has a
#/definitions/account-address"

when the generete build runs, the enums dart fils seem ok
*.enums.swagger.dart
enum AccountAddressType {

But, the following file seems to just 'capitalize' the definition name, however in the phase of processing the enums that process seems to generate the names correctly ...
*.swagger.dart
String accountAddressTypeToJson(enums.Account-addressType accountAddressType) {

@Vovanella95
Copy link
Collaborator

Hi, we will check it today and fix it ASAP

@Vovanella95
Copy link
Collaborator

@fphilip Issue is fixed. Please check latest version and let us know if something works bad! Thanks for highlighting issue!

@fphilip
Copy link
Author

fphilip commented Dec 12, 2020

thanks.. works great!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants