Skip to main content

Interface: $Properties

options.Header.$Properties

Properties of a Header.

Hierarchy​

Properties​

default​

• Optional default: null | string

Default Declares the value of the header that the server will use if none is provided. See: https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-6.2. Unlike JSON Schema this value MUST conform to the defined type for the header.


description​

• Optional description: null | string

Description is a short description of the header.


format​

• Optional format: null | string

Format The extending format for the previously mentioned type.


pattern​

• Optional pattern: null | string

'Pattern' See https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.2.3.


type​

• Optional type: null | string

The type of the object. The value MUST be one of "string", "number", "integer", or "boolean". The "array" type is not supported.