Skip to main content

Interface: IOpenApiServerVariable

An OpenAPI Server Variable Object.

See

https://spec.openapis.org/oas/latest.html#server-variable-object

Properties

enum?

optional enum?: string[]

Allowed substitution values.

See

https://spec.openapis.org/oas/latest.html#fixed-fields-4


default

default: string

The default substitution value.

See

https://spec.openapis.org/oas/latest.html#fixed-fields-4


description?

optional description?: string

A description of the variable.

See

https://spec.openapis.org/oas/latest.html#fixed-fields-4