unique-role-id
Overview
This rule belongs to the openapi-v3-apimatic-linting
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 | OPENAPI3APIMATIC_L001 |
Type | Linting |
Rule System | Semantic |
Broad Category | OpenAPI Root Information |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | openapi3 openapi apimatic semantic linting role id unique duplicate |
Suggested Fixes
- Remove roles with duplicate IDs.
- Assign unique IDs to conflicting roles.