Skip to main content

unique-security-requirement-scopes

Overview

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

Each security requirement scope within a security scheme represents a unique permission or access level. Therefore, duplicate entries for security requirement scopes are not allowed.

PropertyValue
EnabledYes
Maximum SeverityError
MessageDuplicate entry for security requirement scope found.
CodeOPENAPI3APIMATIC_L932
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Security Requirements
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting unique duplicate security requirement scope

Suggested Fixes

  • Remove any duplicate scope from the security requirement object.

For More Information