You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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).
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.
The text was updated successfully, but these errors were encountered: