Skip to main content

no-space-in-oauth-flow-scope-key

Overview

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

Scope keys in OAuth flow must not contain spaces.

PropertyValue
EnabledYes
Maximum SeverityError
MessageScope key in oauth flow object contains spaces which is not allowed.
CodeOPENAPI3CODEGENSYNTAX_L760
TypeLinting
Rule SystemSyntax
Broad CategoryOpenAPI OAuth 2.0 Flows
Products ImpactedCode Generation, Developer Experience Portal
Tagscode generation sdks openapi3 openapi syntax linting apimatic oauth flow scope key space

Suggested Fixes

  • Remove spaces from scope keys in OAuth flow.

For More Information