gibahjoe / openapi-generator-dart

Openapi Generator for Dart/Flutter
BSD 3-Clause "New" or "Revised" License
123 stars 34 forks source link

Fix enum value retrieval error and update the generator CLI #75

Closed atoka93 closed 2 years ago

atoka93 commented 2 years ago

Updates the embedded CLI version and removes the deprecated generators on top of #74. Created a different pull request in case the fix is okay but there are issues with the removals.

With https://github.com/gibahjoe/openapi-generator-dart/pull/71 something broke: https://github.com/gibahjoe/openapi-generator-dart/issues/73.

Hopefully this pull request will fix that and close both https://github.com/gibahjoe/openapi-generator-dart/issues/73 and https://github.com/gibahjoe/openapi-generator-dart/issues/72: added a check to make sure that the enum is always the specified type and replaced the enum value parsing with a different one.

jlambright commented 2 years ago

Any updates on this?

atoka93 commented 2 years ago

Tagging @gibahjoe in case he doesn't receive notifications for pull requests 🤷

gibahjoe commented 2 years ago

Sorry, been a little busy with work. Will review and release before the weekend is over