public final class ApiModelProperties
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static AllowableValues |
allowableValueFromString(java.lang.String allowableValueString) |
static com.google.common.base.Optional<io.swagger.annotations.ApiModelProperty> |
findApiModePropertyAnnotation(java.lang.reflect.AnnotatedElement annotated) |
static com.google.common.base.Function<io.swagger.annotations.ApiModelProperty,AllowableValues> |
toAllowableValues() |
static com.google.common.base.Function<io.swagger.annotations.ApiModelProperty,java.lang.String> |
toDescription() |
static com.google.common.base.Function<io.swagger.annotations.ApiModelProperty,java.lang.String> |
toExample() |
static com.google.common.base.Function<io.swagger.annotations.ApiModelProperty,java.lang.Boolean> |
toHidden() |
static com.google.common.base.Function<io.swagger.annotations.ApiModelProperty,java.lang.Boolean> |
toIsReadOnly() |
static com.google.common.base.Function<io.swagger.annotations.ApiModelProperty,java.lang.Boolean> |
toIsRequired() |
static com.google.common.base.Function<io.swagger.annotations.ApiModelProperty,java.lang.Integer> |
toPosition() |
static com.google.common.base.Function<io.swagger.annotations.ApiModelProperty,com.fasterxml.classmate.ResolvedType> |
toType(com.fasterxml.classmate.TypeResolver resolver) |
public static com.google.common.base.Function<io.swagger.annotations.ApiModelProperty,AllowableValues> toAllowableValues()
public static AllowableValues allowableValueFromString(java.lang.String allowableValueString)
public static com.google.common.base.Function<io.swagger.annotations.ApiModelProperty,java.lang.Boolean> toIsRequired()
public static com.google.common.base.Function<io.swagger.annotations.ApiModelProperty,java.lang.Integer> toPosition()
public static com.google.common.base.Function<io.swagger.annotations.ApiModelProperty,java.lang.Boolean> toIsReadOnly()
public static com.google.common.base.Function<io.swagger.annotations.ApiModelProperty,java.lang.String> toDescription()
public static com.google.common.base.Function<io.swagger.annotations.ApiModelProperty,com.fasterxml.classmate.ResolvedType> toType(com.fasterxml.classmate.TypeResolver resolver)
public static com.google.common.base.Optional<io.swagger.annotations.ApiModelProperty> findApiModePropertyAnnotation(java.lang.reflect.AnnotatedElement annotated)
public static com.google.common.base.Function<io.swagger.annotations.ApiModelProperty,java.lang.Boolean> toHidden()
public static com.google.common.base.Function<io.swagger.annotations.ApiModelProperty,java.lang.String> toExample()