Skip to main content

no-trailing-leading-spaces-in-external-documentation-description

Overview

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

Description of an external documentation object should not contain any leading or trailing white-space characters.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageLeading or trailing white-space characters found in external documentation description.
CodeOPENAPI3DOCSGENSYNTAX_L360
TypeLinting
Rule SystemSyntax
Broad CategoryOpenAPI External Documentation
Products ImpactedDeveloper Experience Portal
Tagsdocumentation generation documentation docs openapi3 openapi syntax linting apimatic external description trailing leading spaces

Suggested Fixes

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

For More Information