Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityError
MessageProvided custom ruleset file is invalid.
CodeCUSTOMRULESETSYNTAX_V001
TypeValidation
Rule SystemSyntax
Broad CategoryRuleset
Tagscustom 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.

For More Information