Skip to content

Latest commit

 

History

History
93 lines (51 loc) · 1.73 KB

server.md

File metadata and controls

93 lines (51 loc) · 1.73 KB

fastify-oas

Globals / Server

Class: Server

Hierarchy

  • Server

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

+ new Server(url: string, desc?: string): Server

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

Parameters:

Name Type
url string
desc? string

Returns: Server

Properties

description

Optional description: string

Implementation of ServerObject.description

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


url

url: string

Implementation of ServerObject.url

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


variables

variables: { [v:string]: ServerVariable; }

Implementation of ServerObject.variables

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

Methods

addVariable

addVariable(name: string, variable: ServerVariable): void

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

Parameters:

Name Type
name string
variable ServerVariable

Returns: void