Home ServerVariable Class
ServerVariable Class
Cancel

ServerVariable Class

Namespace: Json.Schema.Api.OpenApi

Inheritance: ServerVariable 🡒 object

Implemented interfaces:

  • IRefTargetContainer

Models a server variable.

Properties

NameTypeSummary
DefaultstringGets the default value to use for substitution.
DescriptionstringGets or sets the description.
EnumIReadOnlyList<string>Gets or sets an enumeration of string values to be used if the substitution options are from a limited set.
ExtensionDataExtensionDataGets or set extension data.
UnknownDataUnknownDataGets or sets properties which are not recognized by OpenAPI.

Constructors

ServerVariable(string default)

Declaration

1
public ServerVariable(string default)
ParameterTypeDescription
defaultstringThe default value
Contents