Support exporting Hibernate Validators info
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- java
- Domain
- api, backend-api-design
Research direction
The issue does not name any files, tests, or entry points. Start by locating the POJO-to-JSON-Schema export flow and how field annotations are currently read, then determine the supported Hibernate Validator annotations and the expected schema output for each. Done means validator constraints are exported for every applicable field and covered by tests.
Written by the indexing model from the issue text.
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.
- Dominant language
- Java
- Stars
- 387
- Forks
- 138
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from FasterXML/jackson-module-jsonSchema
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
FasterXML/jackson-module-jsonSchema#160 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
pr-needed
Difficulty 3/5 1-2 days Newbie friendliness 30/100
FasterXML/jackson-module-jsonSchema#136 · 10 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
FasterXML/jackson-module-jsonSchema#135 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
FasterXML/jackson-module-jsonSchema#133 · 1 comment ·
All issues in FasterXML/jackson-module-jsonSchema
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Vakore/ZappierGames#184 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
lugassawan/swe-workbench#823 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
cassiancc/Raspberry-Core#69 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
IronCoreLabs/ironcore-alloy#351 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
checkstyle/checkstyle#22145 ·
Maintainers usually reply within 1 day