False negative warning combining spec's pojo and Java Bean Validation in CRD generator #4577
Labels
component/crd-generator
Related to the CRD generator
Milestone
Is your enhancement related to a problem? Please describe
In my operator I integrated the POJO class to hibernate in order to validate the spec's attribute at the application level. (other than the CRD level).
So I ended up with a class like this
During the build I get this error:
[WARN] Annotation: javax.validation.constraints.NotNull on property: name is deprecated. Please use: io.fabric8.generator.annotation.Required instead
Reading the doc I understand why there is the warning. However, in this case, it's intentional and I'd like to turn off the warning.
Describe the solution you'd like
A flag to not print the warning
Describe alternatives you've considered
No response
Additional context
Using 6.2.0
The text was updated successfully, but these errors were encountered: