Skip to main content

no-custom-ruleset-additional-property

Overview

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

A custom ruleset file must not contain any additional properties that are not explicitly listed as supported by APIMatic. Visit the official documentation for information about the available properties or contact APIMatic team for more details.

PropertyValue
EnabledYes
SeverityError
MessageThe custom ruleset file provided has an unrecognized additional property.
CodeCUSTOMRULESET_V300
TypeValidation
Rule SystemSemantic
Broad CategoryMiscellaneous
Tagscustom ruleset semantic validation property

Suggested Fixes

  • Property names are compared in a case-sensitive manner.
  • If you think the property is allowed, ensure that the property name case matches the case of the property listed in the documentation and has no typos.
  • Remove any additional properties not explicitly listed in the ruleset file documentation.

For More Information