Skip to main content

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

Overview

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

The name of an OAuthFlow Scope should not contain any leading or trailing white-space characters.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageLeading or trailing white-space character found in OAuth Flow scope name.
CodeOPENAPI3APIMATICSYNTAX_L910
TypeLinting
Rule SystemSyntax
Broad CategoryOpenAPI OAuth 2.0 Flows
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi syntax linting apimatic oauth flow scope leading trailing whitespace character

Suggested Fixes

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

For More Information