FasterXML / FasterXML/jackson-module-jsonSchema

Support exporting Hibernate Validators info

Open
#134 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
387
Forks
136
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.