Skip to main content

unique-authentication-options

Overview

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

An authentication option in a list of options must be unique. If that is not the case, it will be automatically removed. 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
MessageDuplicate authentication option entry has been removed.
CodeAPIMATICPOSTPROCESS_V106
TypeValidation
Rule SystemSemantic
Broad CategoryAuthentication
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagsapimatic postprocessing validation authentication option authentication

Suggested Fixes

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