FasterXML / FasterXML/jackson-module-jsonSchema

Support exporting Hibernate Validators info

Offen
#134 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
387
Forks
136
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.