Skip to main content

predefined-endpoint-scopes

Overview

This rule belongs to the apimatic-preliminary-validation ruleset and states that:

An endpoint must only use pre-defined scopes from the authentication scope definitions.

PropertyValue
EnabledYes
Maximum SeverityError
MessageEndpoint scope is undefined.
CodeAPIMATICPRE_V104
TypeValidation
Rule SystemSemantic
Broad CategoryEndpoints
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary checks validation apimatic scope oauth 2.0 authentication endpoint

Suggested Fixes

  • Make sure all scopes used within an endpoint are already defined in the authentication scopes.
  • Make sure that the scope name used in the endpoint matches the name specified for the scope in the authentication section definition.

For More Information