How do you enable Jakarta validation on the POJOs? There is no mention of this in the docs. #764
-
No Jakarta validations are being added as part of the generation. I see from the template that useBeanValidation has to be enabled for it to be added, but how can we define useBeanValidation to be set to true. |
Beta Was this translation helpful? Give feedback.
Answered by
mcruzdev
Aug 8, 2024
Replies: 1 comment
-
Hi @aminmansour, how are you? Thank you for opening this discussion! Searching in the code there is no way to configure @FelixScherzinger is working in a pull request to add it, see more details here. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ricardozanini
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 classorg.openapitools.codegen.languages.JavaClientCodegen
.@FelixScherzinger is working in a pull request to add it, see more details here.