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.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Warning |
| Message | Conflicting custom ruleset Id found and will be renamed. |
| Code | CUSTOMRULESET_V002 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Ruleset |
| Tags | custom ruleset semantic validation id |
Suggested Fixes
- Ensure that the
Idassigned to the rule is unique among ids of any other custom rulesets you may have defined in separate files. - Ensure that the
Iddoes 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.