Home HeaderRef Class
HeaderRef Class
Cancel

HeaderRef Class

Namespace: Json.Schema.Api.OpenApi

Inheritance: HeaderRef 🡒 Header 🡒 object

Implemented interfaces:

  • IRefTargetContainer
  • IComponentRef

Models a $ref to 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.
IsResolvedboolGets whether the reference has been resolved.
RefUriThe URI for the reference.
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.
SummarystringGets or sets the summary.
UnknownDataUnknownDataGets or sets properties which are not recognized by OpenAPI.

Constructors

HeaderRef(Uri reference)

Declaration

1
public HeaderRef(Uri reference)
ParameterTypeDescription
referenceUriThe reference URI

HeaderRef(string reference)

Declaration

1
public HeaderRef(string reference)
ParameterTypeDescription
referencestringThe reference URI
Contents