Closed DenWin closed 12 months ago
Hi
useJakartaValidation
does not mean that there won't be any javax.*
import anymore.
Configuration provided has both includeJsr303Annotations
(Bean Validation) as well as includeJsr305Annotations
(Annotations for Software Defect Detection [status: dormant]) the latter is the "cause" for javax.annotation.*
imports whilst former is "driven" by useJakartaValidation
configuration option.
Well one thing I'm still a little unsure, are perhaps both annotations required?
It depends whether jsr305 (com.google.code.findbugs:jsr305
) annotations are being used for static code analysis in project at hand or not.
Hi, I using jsonschema2pojo as following:
thought in my generated code I still find the following:
I would assume:
For NotNull vs NonNull a Rule similar to ValidRule is required.
Well one thing I'm still a little unsure, are perhaps both annotations required?
For Nullable it goes a little further as the jaakarta-version of nullable needs to be added in the import