Skip to main content

required-schema-description

Overview

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

Schema descriptions help agentic tools understand the purpose and structure of models. Include meaningful descriptions to improve generated code and AI reasoning.

PropertyValue
EnabledNo
Maximum SeverityWarning
MessageSchema should include a non-empty description.
CodeOPENAPI3AGENTICTOOLS_L660
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Schemas
Products ImpactedAgentic Tools Generation, Developer Experience Portal
Tagscode generation AI Agentic tools mcp llm openapi3 openapi semantic linting apimatic schema description

Suggested Fixes

  • Add a clear description to each schema.
  • Ensure the description accurately represents the schema.

For More Information