Skip to main content

no-trailing-leading-spaces-in-one-of-cases-meta-description

Overview

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

Description of Schema oneOf cases meta extension should not contain any leading or trailing white-space characters.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageSchema oneOf cases meta description contains leading/trailing white-space characters.
CodeOPENAPI3DOCSGENSYNTAX_L751
TypeLinting
Rule SystemSyntax
Broad CategoryOpenAPI Schemas
Products ImpactedDeveloper Experience Portal
Tagsdocumentation generation documentation docs openapi3 openapi syntax linting apimatic schema oneof description trailing leading spaces

Suggested Fixes

  • Remove all leading or trailing white-space characters such as spaces, tabs, or line breaks.

For More Information