public class Validators
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BEAN_VALIDATOR_PLUGIN_ORDER |
Modifier and Type | Method and Description |
---|---|
static <T extends java.lang.annotation.Annotation> |
annotationFromBean(springfox.documentation.spi.schema.contexts.ModelPropertyContext context,
java.lang.Class<T> annotationType) |
static <T extends java.lang.annotation.Annotation> |
annotationFromField(springfox.documentation.spi.schema.contexts.ModelPropertyContext context,
java.lang.Class<T> annotationType) |
static <T extends java.lang.annotation.Annotation> |
annotationFromParameter(springfox.documentation.spi.service.contexts.ParameterContext context,
java.lang.Class<T> annotationType) |
static <T extends java.lang.annotation.Annotation> |
extractAnnotation(springfox.documentation.spi.schema.contexts.ModelPropertyContext context,
java.lang.Class<T> annotationType) |
public static final int BEAN_VALIDATOR_PLUGIN_ORDER
public static <T extends java.lang.annotation.Annotation> com.google.common.base.Optional<T> extractAnnotation(springfox.documentation.spi.schema.contexts.ModelPropertyContext context, java.lang.Class<T> annotationType)
public static <T extends java.lang.annotation.Annotation> com.google.common.base.Optional<T> annotationFromBean(springfox.documentation.spi.schema.contexts.ModelPropertyContext context, java.lang.Class<T> annotationType)
public static <T extends java.lang.annotation.Annotation> com.google.common.base.Optional<T> annotationFromField(springfox.documentation.spi.schema.contexts.ModelPropertyContext context, java.lang.Class<T> annotationType)
public static <T extends java.lang.annotation.Annotation> com.google.common.base.Optional<T> annotationFromParameter(springfox.documentation.spi.service.contexts.ParameterContext context, java.lang.Class<T> annotationType)