Define & Validate APIsValidation RulesetsAPIMatic Rulesets

APIMatic Rulesets Overview

The rulesets APIMatic uses to validate and lint every API definition, whatever its format.

The rulesets below apply to every API definition, whatever its format. Input File Validation and Metadata File Validation check the files you provide. Most of the others check your definition after APIMatic imports it, and include checks a format's standard may not enforce itself but that APIMatic needs to produce good SDKs, portals, and transformations.

Validation rulesets

These rulesets make sure your API definition conforms to its format and is technically correct.

Linting rulesets

These rulesets are style checks and recommendations. Breaking one of their rules doesn't mean your definition violates its format's standard, but it can lower the quality of what APIMatic generates from it.

RulesetCode prefixRules
APIMatic Preliminary LintingAPIMATICPRE_L24
APIMatic Linting for Portal GenerationAPIMATICDOCS_L13

On this page