---
meta:
 - name: keywords
   description: api typescript node.js documentation OpenSpecServerVariable interface
---
# OpenSpecServerVariable - @tsed/openspec

## Usage

```typescript
import { OpenSpecServerVariable } from "@tsed/openspec";
```

> See [/packages/specs/openspec/src/openspec3/OS3Server.ts](https://github.com/tsedio/tsed/blob/v8.28.2/packages/specs/openspec/src/openspec3/OS3Server.ts#L0-L0).

## Overview

```ts
interface OpenSpecServerVariable {
    enum?: string;
    default: string;
    description?: string;
}
```

<!-- Members -->

## enum

```ts
enum?: string;
```

An enumeration of string values to be used if the substitution options are from a limited set.

## default

```ts
default: string;
```

The default value to use for substitution, and to send, if an alternate value is not supplied. Unlike the Schema Object's default, this value MUST be provided by the consumer.

## description

```ts
description?: string;
```

An optional description for the server variable. CommonMark syntax MAY be used for rich text representation.
