Skip to main content

unique-custom-ruleset-id

Overview

This rule belongs to the custom-ruleset-validation ruleset and states that:

The id specified in the custom ruleset file using the Id property must be unique among any other custom rulesets defined by you or any rulesets owned by APIMatic. If a conflicting ruleset id is detected, it will be renamed automatically.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageConflicting custom ruleset Id found and will be renamed.
CodeCUSTOMRULESET_V002
TypeValidation
Rule SystemSemantic
Broad CategoryRuleset
Tagscustom ruleset semantic validation id

Suggested Fixes

  • Ensure that the Id assigned to the rule is unique among ids of any other custom rulesets you may have defined in separate files.
  • Ensure that the Id does not conflict with id of any APIMatic-owned ruleset.
  • Ids are compared in a case-sensitive manner.
  • Make sure that the ruleset id is not null or empty.

For More Information