-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
missing Java code generation #1419
Comments
Hi What would be the expected generated output for given schema ? |
💭 I would expect that some Java code should be generated for the validation of an input string according to the specified regular expression. |
This library doesn't perform validation. This is a huge task, and one best left to schema validation libraries. You might be interested to look at JSR 303 though (or Jakarta validation) as the annotations can be turned on in jsonschema2pojo. You can then use a bean validator. |
I wonder how this feedback fits to the desire for data type safety which should be achieved together with complete applications of the JSON schema specification (including the usage of patterns). 🔮 Will the support evolve any further for the data processing with regular expressions? |
I am trying the current software release out.
Now I wonder why I do not see that desired Java source files were generated in the specified target directory according to my simple JSON schema example.
🔮 How should the tool implementation be improved further?
The text was updated successfully, but these errors were encountered: