Skip to main content

path-item-summary-or-description-exists

Overview

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

The OpenAPI specification requires that every Path Item object includes a summary and/or description property. These properties provide a brief overview of the operations defined by the path.

PropertyValue
EnabledNo
Maximum SeverityInformation
MessageSummary and description properties are missing or empty for path object.
CodeOPENAPI3DOCSGEN_L240
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Path Items
Products ImpactedDeveloper Experience Portal
Tagsdocumentation generation documentation docs openapi3 openapi semantic linting apimatic path summary description

Suggested Fixes

  • Ensure that the Path Object contains the summary property.
  • Ensure that the Path Object contains the description property.
  • Ensure that Path Object summary/description value is not null or empty.

For More Information