Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityError
MessageRoles with matching IDs found which is not allowed.
CodeOPENAPI3APIMATIC_L001
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Root Information
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting role id unique duplicate

Suggested Fixes

  • Remove roles with duplicate IDs.
  • Assign unique IDs to conflicting roles.

For More Information