Annotation Interface ServerVariable
An object representing a Server Variable for server URL template substitution.
- See Also:
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionThe default value of this server variable.The name of this server variable. -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionAn optional description for the server variable.String[]
An array of enum values for this variable.List of extensions to be added to theServerVariable
model corresponding to the containing annotation.
-
Element Details
-
-
enumeration
String[] enumerationAn array of enum values for this variable. This field maps to the enum property in the OAS schema and to enumeration field of ServerVariable model.- Returns:
- array of possible values for this ServerVariable
- Default:
- {}
-
description
String descriptionAn optional description for the server variable. CommonMark syntax can be used for rich text representation.- Returns:
- the description of this server variable
- Default:
- ""
-
extensions
Extension[] extensionsList of extensions to be added to theServerVariable
model corresponding to the containing annotation.- Returns:
- array of extensions
- Since:
- 3.1
- Default:
- {}
-