valid-authentication-scheme-name
Overview
This rule belongs to the apimatic-preliminary-validation ruleset and states that:
Authentication scheme key name must be non-null, non-empty and use only letters, numbers, dashes, underscores or dots.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Authentication scheme name is invalid. |
| Code | APIMATICPRE_V070 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Authentication |
| Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
| Tags | preliminary checks validation apimatic authentication key authentication name authentication scheme authentication |
Suggested Fixes
- Make sure that the authentication scheme key name is not null or empty.
- Ensure that the authentication scheme key name follows the regex pattern ^[a-zA-Z0-9.-_]+$
- An authentication scheme key name can only use letters, numbers, dashes, underscores and dots.