Skip to main content

header-description-exists

Overview

This rule belongs to the openapi-v3-docsgen-linting ruleset and states that:

Every header object in an OpenAPI specification must include a description property that provides a brief explanation of the header's purpose.

PropertyValue
EnabledYes
Maximum SeverityInformation
MessageHeader object description is missing.
CodeOPENAPI3DOCSGEN_L660
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Headers
Products ImpactedDeveloper Experience Portal
Tagsdocumentation generation documentation docs openapi3 openapi semantic linting apimatic description header

Suggested Fixes

  • Ensure that the Header Object contains the description property.
  • Ensure that Header Object description value is not null or empty.

For More Information