| 程序包 | 说明 |
|---|---|
| springfox.documentation.builders | |
| springfox.documentation.schema | |
| springfox.documentation.service |
| 限定符和类型 | 方法和说明 |
|---|---|
static AllowableValues |
BuilderDefaults.emptyToNull(AllowableValues newValue,
AllowableValues current)
Retains current allowable values if then new value is null
|
static AllowableValues |
BuilderDefaults.emptyToNull(AllowableValues newValue,
AllowableValues current)
Retains current allowable values if then new value is null
|
| 限定符和类型 | 方法和说明 |
|---|---|
ModelPropertyBuilder |
ModelPropertyBuilder.allowableValues(AllowableValues allowableValues) |
ParameterBuilder |
ParameterBuilder.allowableValues(AllowableValues allowableValues)
Updates if the parameter is bound by a range of values or a range of numerical values
|
ParameterBuilder |
ParameterBuilder.allowableValues(AllowableValues allowableValues)
Updates if the parameter is bound by a range of values or a range of numerical values
|
ModelPropertyBuilder |
ModelPropertyBuilder.allowableValues(AllowableValues allowableValues) |
static AllowableValues |
BuilderDefaults.emptyToNull(AllowableValues newValue,
AllowableValues current)
Retains current allowable values if then new value is null
|
static AllowableValues |
BuilderDefaults.emptyToNull(AllowableValues newValue,
AllowableValues current)
Retains current allowable values if then new value is null
|
| 限定符和类型 | 方法和说明 |
|---|---|
static AllowableValues |
Enums.allowableValues(Class<?> type) |
static AllowableValues |
Enums.allowableValues(Class<?> type) |
static AllowableValues |
Enums.emptyListValuesToNull(AllowableListValues values) |
static AllowableValues |
Enums.emptyListValuesToNull(AllowableListValues values) |
AllowableValues |
ModelProperty.getAllowableValues() |
AllowableValues |
ModelRef.getAllowableValues() |
AllowableValues |
ModelReference.getAllowableValues() |
AllowableValues |
ModelReference.getAllowableValues() |
AllowableValues |
ModelRef.getAllowableValues() |
AllowableValues |
ModelProperty.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) |
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,
AllowableValues allowableValues) |
ModelRef(String type,
AllowableValues allowableValues) |
ModelRef(String type,
ModelReference itemType,
AllowableValues allowableValues) |
ModelRef(String type,
ModelReference itemType,
AllowableValues allowableValues) |
ModelRef(String type,
ModelReference itemModel,
AllowableValues allowableValues,
boolean isMap) |
ModelRef(String type,
ModelReference itemModel,
AllowableValues allowableValues,
boolean isMap) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AllowableListValues |
class |
AllowableRangeValues |
| 限定符和类型 | 方法和说明 |
|---|---|
AllowableValues |
Parameter.getAllowableValues() |
AllowableValues |
Parameter.getAllowableValues() |
| 构造器和说明 |
|---|
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) |
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) |
Copyright © 2023. All rights reserved.