![JAR search and dependency download from the Maven repository](/logo.png)
ru.tinkoff.kora.validation.common.annotation.Valid Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of validation-common Show documentation
Show all versions of validation-common Show documentation
Kora validation-common module
package ru.tinkoff.kora.validation.common.annotation;
import ru.tinkoff.kora.validation.common.Validator;
import java.lang.annotation.*;
/**
* Indicates that Type Field / Method Argument / Return Value should be validated and thus such {@link Validator} will be expected
*
* When Class/Record is annotated then {@link Validator} for such type will be generated
*/
@Documented
@Retention(value = RetentionPolicy.CLASS)
@Target(value = {ElementType.METHOD, ElementType.TYPE, ElementType.FIELD, ElementType.PARAMETER})
public @interface Valid {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy