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

[FEATURE] Support for deprecated annotations #699

Closed
jointhejourney opened this issue Dec 27, 2023 · 2 comments · Fixed by #701
Closed

[FEATURE] Support for deprecated annotations #699

jointhejourney opened this issue Dec 27, 2023 · 2 comments · Fixed by #701
Assignees
Labels
enhancement New feature or request

Comments

@jointhejourney
Copy link

Hi, it would be nice if we could parse any deprecated fields from our OpenAPI schema and add the deprecated class annotation in Dart:

https://api.flutter.dev/flutter/dart-core/Deprecated-class.html

It'd make it easier to spot deprecated changes through the IDE.

@jointhejourney jointhejourney added the enhancement New feature or request label Dec 27, 2023
@Vovanella95
Copy link
Collaborator

Hi @jointhejourney , could you provide some examples of expected generated code?

@jointhejourney
Copy link
Author

Hey @Vovanella95 apologies for missing your comment, and I'm glad you were able to implement. Thank you for the awesome package!

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

Successfully merging a pull request may close this issue.

3 participants