unique-authentication-schemes-in-group-auth-option
Overview
This rule belongs to the apimatic-preliminary-linting ruleset and states that:
A group authentication option is one that makes use of multiple authentication schemes to complete the authentication. It must not consist of any duplicate authentication schemes.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Warning |
| Message | Equivalent authentication scheme has already been applied in the group authentication option. |
| Code | APIMATICPRE_L024 |
| Type | Linting |
| Rule System | Semantic |
| Broad Category | Authentication |
| Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
| Tags | preliminary checks linting apimatic group authentication option authentication scheme authentication |
Suggested Fixes
- An authentication scheme entry is considered unique when other entries do not use the same authentication scheme name or (if applicable) consist of unique scope values.
- Remove duplicate authentication scheme entries from the group authentication option definition to avoid this issue.