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.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Warning |
Message | Duplicate authentication option entry has been removed. |
Code | APIMATICPOSTPROCESS_V106 |
Type | Validation |
Rule System | Semantic |
Broad Category | Authentication |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | apimatic 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.