Package io.dropwizard.validation
Annotation Type Validated
-
@Target({PARAMETER,METHOD}) @Retention(RUNTIME) public @interface Validated
Due to limit of @see javax.validation.Valid Annotation for validation groups and ordered validations, this annotation is serving supplementary purposes to validation process.
-
-
Element Detail
-
value
Class<?>[] value
Specify one or more validation groups to apply to the validation.- Returns:
- Validation groups
- Default:
- {jakarta.validation.groups.Default.class}
-
-