unique-role-ids
Overview
This rule belongs to the apimatic-preliminary-validation ruleset and states that:
Role IDs specified in the API role definitions must be unique.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Roles with matching IDs found which is not allowed. |
| Code | APIMATICPRE_V002 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | API |
| Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
| Tags | preliminary checks validation apimatic role api |
Suggested Fixes
- Remove roles with duplicate IDs.
- Assign unique IDs to conflicting roles.