Skip to main content

no-trailing-leading-spaces-in-schema-title

Overview

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

The title of the schema should not contain any leading or trailing white-space characters.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageLeading or trailing white-space character found in schema title.
CodeOPENAPI3APIMATICSYNTAX_L660
TypeLinting
Rule SystemSyntax
Broad CategoryOpenAPI Schemas
Products ImpactedDeveloper Experience Portal
Tagsopenapi3 openapi syntax linting apimatic schema title leading trailing whitespace character

Suggested Fixes

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

For More Information