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.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Warning |
Message | Authentication option already exists. |
Code | APIMATICPRE_L023 |
Type | Linting |
Rule System | Semantic |
Broad Category | Authentication |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | preliminary 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.