Skip to main content

no-space-in-security-requirement-scope-value

Overview

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

Scope values in OAuth flow must not contain spaces.

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

Suggested Fixes

  • Remove spaces from scope value in OAuth flow. You may use spaces in scope names but not scope values.

For More Information