UNPKG

st-open-api

Version:

Generates API client SDKs from an OpenAPI specification written in OpenAPI version 3.x.x

20 lines (19 loc) 770 B
export interface IServerVariable { /** * An enumeration of string values to be used if the substitution options are from a limited set. * The array SHOULD NOT be empty. */ enum?: Array<string>; /** * REQUIRED. The default value to use for substitution, which SHALL be sent * if an alternate value is not supplied. Note this behavior is different * than the Schema Object's treatment of default values, because in those cases parameter * values are optional. If the enum is defined, the value SHOULD exist in the enum's values. */ default: string; /** * An optional description for the server variable. * CommonMark syntax MAY be used for rich text representation. */ description?: string; }