Skip to content

[FEATURE] Mark deprecated properties with @DeprecatedΒ #418

@maltesmann

Description

@maltesmann

Why do we need this improvement?

Changes in the event-model between software components implemented by different teams sometimes require to be non-breaking. Therefore to be removed properties are not removed directly but marked with deprecated: true in the specification.

How will this change help?

For the developer only working with the generated code it would be much easier to directly see the deprecation in the IDE instead of having to look out for deprecations in the specification.

Screenshots

No response

How could it be implemented/designed?

Add the @Deprecated annotation to getters and setters in generated model classes where deprecated: true

🚧 Breaking changes

No

πŸ‘€ Have you checked for similar open issues?

  • I checked and didn't find a similar issue

🏒 Have you read the Contributing Guidelines?

Are you willing to work on this issue?

Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions