Skip to main content

operation-summary-or-description-exists

Overview

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

The Operation Object must specify details about the operation using either the summary or the description property. The value of the summary/description must be non-null and non-empty.

PropertyValue
EnabledYes
Maximum SeverityInformation
MessageBoth summary and description are missing from operation object.
CodeOPENAPI3DOCSGEN_L300
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Operations
Products ImpactedDeveloper Experience Portal
Tagsdocumentation generation documentation docs openapi3 openapi semantic linting apimatic summary operation description

Suggested Fixes

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

For More Information