valid-custom-ruleset-syntax
Overview
This rule belongs to the custom-ruleset-syntax-validation
ruleset and states that:
The custom ruleset file must follow pre-defined syntax rules. All properties must be defined accordingly. Visit relevant documentation or contact APIMatic team for more details.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Provided custom ruleset file is invalid. |
Code | CUSTOMRULESETSYNTAX_V001 |
Type | Validation |
Rule System | Syntax |
Broad Category | Ruleset |
Tags | custom ruleset syntax validation |
Suggested Fixes
- Fix any syntax issues in the custom ruleset file.
- Ensure that you haven't defined a property expected to be an array as an object or vice versa.
- Make sure that you didn't declare a numeric property as a string or vice versa.
- Make sure that the property names used do not have typos or are using the wrong case.