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

Support exporting Hibernate Validators info #134

Open
jacek99 opened this issue Apr 9, 2019 · 2 comments
Open

Support exporting Hibernate Validators info #134

jacek99 opened this issue Apr 9, 2019 · 2 comments

Comments

@jacek99
Copy link

jacek99 commented Apr 9, 2019

Most Java POJOs these days use Hibernate Validators to annotate fields: NotNull, NotEmpty, Size, Min, Max, regex pattern, etc.

That is badly missing information in the exported JSON schema, which makes contract definition via JSON incomplete.

Since Validators are pretty much a part of the standard Java stack by now, would be great if this module could read all the validators and export info about them for every field.

@hurelhuyag
Copy link

I'm looking forward to this. At least @NotNull and @NotEmpty are important.

@cowtowncoder
Copy link
Member

cowtowncoder commented Sep 30, 2023

This module is deprecated so it is unlikely anything like this will be implemented at this point.
It would probably make sense to suggest this idea to maintainers of actively developed JSON Schema generators (many of which use Jackson internally).

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

3 participants