Skip to main content

unique-oauth-flow-scopes-key

Overview

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

The scope keys defined in the OAuth flow object must be unique.

PropertyValue
EnabledYes
Maximum SeverityError
MessageDuplicate scope key found in the OAuth flow object.
CodeOPENAPI3APIMATIC_L913
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI OAuth 2.0 Flows
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting oauth flow scopes key

Suggested Fixes

  • Remove duplicate scope key definitions.
  • Make sure that all scope keys are assigned unique names.

For More Information