Home Header Class
Header Class
Cancel

Header Class

Namespace: Json.Schema.Api.OpenApi

Inheritance: Header 🡒 object

Implemented interfaces:

  • IRefTargetContainer

Models a header.

Properties

NameTypeSummary
AllowEmptyValuebool?Gets or sets whether the header can be present with an empty value.
AllowReservedbool?Gets or sets whether the parameter value should allow reserved characters.
ContentDictionary<string, MediaType>Gets or sets a collection of content.
Deprecatedbool?Gets or sets whether the header is deprecated.
DescriptionstringGets or sets the description.
ExampleJsonNodeGets or sets an example.
ExamplesDictionary<string, Example>Gets or sets a collection of examples.
Explodebool?Gets or sets whether this will be exploded into multiple parameters.
ExtensionDataExtensionDataGets or set extension data.
Requiredbool?Gets or sets whether the header is required.
SchemaJsonSchemaGets or sets a schema for the content.
StyleParameterStyle?Gets or sets how the header value will be serialized.
UnknownDataUnknownDataGets or sets properties which are not recognized by OpenAPI.
Contents