Skip to main content

no-trailing-leading-spaces-in-oauth-flow-scope-description

Overview

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

Scope value of an OAuth Flow Object should not contain any leading or trailing white-space characters.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageLeading or trailing white-space characters found in oauth flow scope values.
CodeOPENAPI3DOCSGENSYNTAX_L870
TypeLinting
Rule SystemSyntax
Broad CategoryOpenAPI OAuth 2.0 Flows
Products ImpactedDeveloper Experience Portal
Tagsdocumentation generation documentation docs openapi3 openapi syntax linting apimatic oauth flow scope trailing leading spaces

Suggested Fixes

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

For More Information