类 Parameter
java.lang.Object
springfox.documentation.service.Parameter
- 所有已实现的接口:
org.springframework.core.Ordered
-
字段概要
字段从接口继承的字段 org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
构造器概要
构造器构造器说明Parameter(String name, String description, String defaultValue, boolean required, boolean allowMultiple, Boolean allowEmptyValue, ModelReference modelRef, com.google.common.base.Optional<com.fasterxml.classmate.ResolvedType> type, AllowableValues allowableValues, String paramType, String paramAccess, boolean hidden, String pattern, String collectionFormat, int order, Object scalarExample, com.google.common.collect.Multimap<String, Example> examples, List<VendorExtension> vendorExtensions) -
方法概要
-
字段详细资料
-
DEFAULT_PRECEDENCE
public static final int DEFAULT_PRECEDENCE- 另请参阅:
-
-
构造器详细资料
-
Parameter
public Parameter(String name, String description, String defaultValue, boolean required, boolean allowMultiple, Boolean allowEmptyValue, ModelReference modelRef, com.google.common.base.Optional<com.fasterxml.classmate.ResolvedType> type, AllowableValues allowableValues, String paramType, String paramAccess, boolean hidden, String pattern, String collectionFormat, int order, Object scalarExample, com.google.common.collect.Multimap<String, Example> examples, List<VendorExtension> vendorExtensions)
-
-
方法详细资料
-
getType
public com.google.common.base.Optional<com.fasterxml.classmate.ResolvedType> getType() -
getName
-
getDescription
-
getDefaultValue
-
isRequired
-
isAllowMultiple
-
getAllowableValues
-
getParamType
-
getParamAccess
-
getModelRef
-
isHidden
-
getPattern
-
getVendorExtentions
-
getCollectionFormat
-
isAllowEmptyValue
-
getScalarExample
-
getExamples
-
getOrder
public int getOrder()- 指定者:
getOrder在接口中org.springframework.core.Ordered
-
toString
-