Skip to content

How do you enable Jakarta validation on the POJOs? There is no mention of this in the docs. #764

Closed Answered by mcruzdev
aminmansour asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @aminmansour, how are you? Thank you for opening this discussion!

Searching in the code there is no way to configure useBeanValidation, this is configured by the parent class org.openapitools.codegen.languages.JavaClientCodegen.

@FelixScherzinger is working in a pull request to add it, see more details here.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ricardozanini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants