Skip to content

Latest commit

 

History

History
73 lines (40 loc) · 1.61 KB

servervariable.md

File metadata and controls

73 lines (40 loc) · 1.61 KB

fastify-oas

Globals / ServerVariable

Class: ServerVariable

Hierarchy

  • ServerVariable

Implements

Index

Constructors

Properties

Constructors

constructor

+ new ServerVariable(defaultValue: any, enums?: any, description?: string): ServerVariable

Defined in node_modules/openapi3-ts/dist/model/Server.d.ts:14

Parameters:

Name Type
defaultValue any
enums? any
description? string

Returns: ServerVariable

Properties

default

default: string | boolean | number

Implementation of ServerVariableObject.default

Defined in node_modules/openapi3-ts/dist/model/Server.d.ts:13


description

Optional description: string

Implementation of ServerVariableObject.description

Defined in node_modules/openapi3-ts/dist/model/Server.d.ts:14


enum

Optional enum: string[] | boolean[] | number[]

Implementation of ServerVariableObject.enum

Defined in node_modules/openapi3-ts/dist/model/Server.d.ts:12