Package springfox.documentation.builders
Class ServerVariableBuilder
- java.lang.Object
-
- springfox.documentation.builders.ServerVariableBuilder
-
public class ServerVariableBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ServerVariableBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerVariableBuilder
allowedValues(java.util.List<java.lang.String> allowedValues)
ServerVariable
createServerVariable()
ServerVariableBuilder
defaultValue(java.lang.String defaultValue)
ServerVariableBuilder
description(java.lang.String description)
ServerVariableBuilder
extensions(java.util.List<VendorExtension> extensions)
ServerVariableBuilder
name(java.lang.String name)
-
-
-
Method Detail
-
name
public ServerVariableBuilder name(java.lang.String name)
-
allowedValues
public ServerVariableBuilder allowedValues(java.util.List<java.lang.String> allowedValues)
-
defaultValue
public ServerVariableBuilder defaultValue(java.lang.String defaultValue)
-
description
public ServerVariableBuilder description(java.lang.String description)
-
extensions
public ServerVariableBuilder extensions(java.util.List<VendorExtension> extensions)
-
createServerVariable
public ServerVariable createServerVariable()
-
-