Annotation Type ServerVariable
- 
 @Target({}) @Retention(RUNTIME) @Inherited public @interface ServerVariable An object representing a Server Variable for server URL template substitution.
- 
- 
Required Element SummaryRequired Elements Modifier and Type Required Element Description StringdefaultValueRequired.StringnameRequired.
 - 
Optional Element SummaryOptional Elements Modifier and Type Optional Element Description String[]allowableValuesAn array of allowable values for this variable.StringdescriptionAn optional description for the server variable.Extension[]extensionsThe list of optional extensions
 
- 
- 
- 
Element Detail- 
nameString name Required. The name of this variable.- Returns:
- String name
 
 
- 
 - 
- 
defaultValueString defaultValue Required. The default value of this variable.- Returns:
- String defaultValue
 
 
- 
 - 
- 
allowableValuesString[] allowableValues An array of allowable values for this variable. This field map to the enum property in the OAS schema.- Returns:
- String array of allowableValues
 - Default:
- {""}
 
 
- 
 - 
- 
descriptionString description An optional description for the server variable.- Returns:
- String description
 - Default:
- ""
 
 
- 
 - 
- 
extensionsExtension[] extensions The list of optional extensions- Returns:
- an optional array of extensions
 - Default:
- {}
 
 
- 
 
-