Package io.micronaut.validation
Annotation Interface Validated
@Documented
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@Around
@Inherited
@Type(ValidatingInterceptor.class)
public @interface Validated
Around
advice that ensures an objects methods are validated.- Since:
- 1.0
- Author:
- Graeme Rocher
-
Optional Element Summary
-
Element Details
-
groups
Class<?>[] groupsThe validation groups that will be used for validation.- Returns:
- The validation groups
- Since:
- 3.5.0
- Default:
- {}
-