You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which flattens all Annotations. That means: when an annotation is annotated with javax.validation.Constraint, all its annotations are treated as if all annotations are on the annotated element.
Jakarta Bean Validation allows to compose constraints as described in 3.3. Constraint composition.
I'd like to implement basic support for this. My idea would be to add a preprocessing step to
swagger-core/modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/ModelResolver.java
Line 1560 in df88c8a
which flattens all Annotations. That means: when an annotation is annotated with
javax.validation.Constraint
, all its annotations are treated as if all annotations are on the annotated element.This has been requested as feature e.g. in springdoc/springdoc-openapi#1486
The text was updated successfully, but these errors were encountered: