Skip to main content

no-trailing-leading-spaces-in-additional-header-description

Overview

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

Additional header description should not contain any leading or trailing white-space characters.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageLeading or trailing white-space characters found in additional header description.
CodeOPENAPI3DOCSGENSYNTAX_L841
TypeLinting
Rule SystemSyntax
Broad CategoryOpenAPI Security Schemes
Products ImpactedDeveloper Experience Portal
Tagsdocumentation generation documentation docs openapi3 openapi syntax linting apimatic additional headers description trailing leading spaces x-additional-headers

Suggested Fixes

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

For More Information