io.github.itroadlabs.apicross.beanvalidation.MinProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apicross-toolbox Show documentation
Show all versions of apicross-toolbox Show documentation
APICROSS utility classes library
The newest version!
package io.github.itroadlabs.apicross.beanvalidation;
import jakarta.validation.Constraint;
import jakarta.validation.Payload;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Constraint(
validatedBy = {MinPropertiesValidator.class}
)
public @interface MinProperties {
int value();
String message() default "{io.github.itroadlabs.apicross.beanvalidation.MinProperties.message}";
Class>[] groups() default {};
Class extends Payload>[] payload() default {};
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy