Skip to main content

unique-authentication-options

Overview

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

An authentication option in a list of options must be unique. The uniqueness of an authentication option is determined by uniqueness of the authentication schemes that need to be applied as part of this option, required scope values, etc.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageAuthentication option already exists.
CodeAPIMATICPRE_L023
TypeLinting
Rule SystemSemantic
Broad CategoryAuthentication
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary checks linting apimatic authentication option authentication

Suggested Fixes

  • Ensure that your list of authentication options contains unique entries only.
  • Ensure that your authentication options make use of distinct authentication schemes and schemes combinations.
  • Assign a unique name to the authentication option.