类的使用
springfox.documentation.builders.ParameterBuilder
使用ParameterBuilder的程序包
-
springfox.documentation.builders中ParameterBuilder的使用
修饰符和类型方法说明ParameterBuilder.allowableValues(AllowableValues allowableValues) Updates if the parameter is bound by a range of values or a range of numerical valuesParameterBuilder.allowEmptyValue(Boolean allowEmptyValue) Updates the flag that allows sending empty values for this parameterParameterBuilder.allowMultiple(boolean allowMultiple) Updates if the parameter should allow multiple valuesParameterBuilder.collectionFormat(String collectionFormat) Updates the parameter extensionsParameterBuilder.complexExamples(com.google.common.collect.Multimap<String, Example> examples) ParameterBuilder.defaultValue(String defaultValue) Updates the default value of the parameterParameterBuilder.description(String description) Updates the description of the parameterParameterBuilder.hidden(boolean hidden) Updates if the parameter is hiddenParameterBuilder.modelRef(ModelReference modelRef) Represents the convenience method to infer the model reference Consolidate or figure out whats can be rolled into the other.Updates the parameter nameParameterBuilder.order(int order) Updates default order of precedence of parametersParameterBuilder.parameterAccess(String paramAccess) Updates the parameter accessParameterBuilder.parameterType(String paramType) Updates the type of parameterParameterBuilder.required(boolean required) Updates if the parameter is required or optionalParameterBuilder.scalarExample(Object scalarExample) ParameterBuilder.type(com.fasterxml.classmate.ResolvedType type) Updates the type of parameterParameterBuilder.vendorExtensions(List<VendorExtension> extensions) Updates the parameter extensions