接口的使用
springfox.documentation.service.AllowableValues
使用AllowableValues的程序包
程序包
说明
-
springfox.documentation.builders中AllowableValues的使用
修饰符和类型方法说明static AllowableValuesBuilderDefaults.emptyToNull(AllowableValues newValue, AllowableValues current) Retains current allowable values if then new value is null修饰符和类型方法说明ModelPropertyBuilder.allowableValues(AllowableValues allowableValues) ParameterBuilder.allowableValues(AllowableValues allowableValues) Updates if the parameter is bound by a range of values or a range of numerical valuesstatic AllowableValuesBuilderDefaults.emptyToNull(AllowableValues newValue, AllowableValues current) Retains current allowable values if then new value is null -
springfox.documentation.schema中AllowableValues的使用
修饰符和类型方法说明static AllowableValuesEnums.allowableValues(Class<?> type) static AllowableValuesEnums.emptyListValuesToNull(AllowableListValues values) ModelProperty.getAllowableValues()ModelRef.getAllowableValues()ModelReference.getAllowableValues()限定符构造器说明ModelProperty(String name, com.fasterxml.classmate.ResolvedType type, String qualifiedType, int position, boolean required, boolean isHidden, boolean readOnly, Boolean allowEmptyValue, String description, AllowableValues allowableValues, Object example, String pattern, String defaultValue, Xml xml, List<VendorExtension> vendorExtensions) ModelRef(String type, ModelReference itemType, AllowableValues allowableValues) ModelRef(String type, ModelReference itemModel, AllowableValues allowableValues, boolean isMap) ModelRef(String type, AllowableValues allowableValues) -
springfox.documentation.service中AllowableValues的使用
限定符构造器说明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)