Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 1.18 KB

File metadata and controls

46 lines (26 loc) · 1.18 KB

api-typescript-generator / Modules / openapi / OpenApiServer

Interface: OpenApiServer

openapi.OpenApiServer

The OpenAPI server object.

See

https://swagger.io/specification/#server-object

Table of contents

Properties

Properties

description

Optional description: string

An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation.


url

url: string

A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the OpenAPI document is being served. Variable substitutions will be made when a variable is named in {brackets}.


variables

Optional variables: Record<string, OpenApiServerVariable>

A map between a variable name and its value. The value is used for substitution in the server's URL template.