Server

Undocumented in source.

Members

Functions

toJson
Json toJson()

Static functions

fromJson
Server fromJson(Json src)

Variables

description
string description;

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

url
string url;

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
ServerVariable[string] variables;

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

Meta