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

Mirror "deprecated" annotation from JSON schema in the generated code #1563

Open
HermannGruber opened this issue Sep 13, 2023 · 0 comments
Open

Comments

@HermannGruber
Copy link

I want to bring up again an issue that has been discussed in #588...

Things have changed in the meantime, and JSON schema now has a mechanism for marking fields as deprecated:
https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.3
Now it seems quite natural to wish that if the deprecated keyword is present in a field in the JSON schema, the generated getters/setters in the POJO will be deprecated (in the Java sense) as well.

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

No branches or pull requests

1 participant