spring-framework / org.springframework.validation.annotation / Validated / value

value

val value: Array<KClass<*>>

Specify one or more validation groups to apply to the validation step kicked off by this annotation.

JSR-303 defines validation groups as custom annotations which an application declares for the sole purpose of using them as type-safe group arguments, as implemented in org.springframework.validation.beanvalidation.SpringValidatorAdapter.

Other org.springframework.validation.SmartValidator implementations may support class arguments in other ways as well.