Skip to main content

schema-description-exists

Overview

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

The Schema Object must specify details about the schema or the type of data it represents, using the description property. The value of the description must be non-null and non-empty.

PropertyValue
EnabledYes
Maximum SeverityInformation
MessageSchema object description is missing.
CodeOPENAPI3DOCSGEN_L750
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Schemas
Products ImpactedDeveloper Experience Portal
Tagsdocumentation generation documentation docs openapi3 openapi semantic linting apimatic description schema

Suggested Fixes

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

For More Information