Skip to main content

Interface: IHeaderParameter

protoc_gen_openapiv2.options.IHeaderParameter

Properties of a HeaderParameter.

Hierarchy​

Properties​

description​

• Optional description: null | string

Description is a short description of the header.

Inherited from​

$Properties.description


format​

• Optional format: null | string

Format The extending format for the previously mentioned type.

Inherited from​

$Properties.format


name​

• Optional name: null | string

Name is the header name.

Inherited from​

$Properties.name


required​

• Optional required: null | boolean

Required indicates if the header is optional

Inherited from​

$Properties.required


type​

• Optional type: null | Type

Type is the type of the object. The value MUST be one of "string", "number", "integer", or "boolean". The "array" type is not supported. See: https://swagger.io/specification/v2/#parameterType.

Inherited from​

$Properties.type