Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityError
MessageRoles with matching IDs found which is not allowed.
CodeAPIMATICPRE_V002
TypeValidation
Rule SystemSemantic
Broad CategoryAPI
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary checks validation apimatic role api

Suggested Fixes

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