experience-error-handling.html

Standardized, informative error responses across every operation.

53 rules experience: error-handling 50 in the file · 3 built-in or validator-only

Run this ruleset

Lint any matching artifact against this ruleset with the OpenLint CLI (the Spectral CLI gives the same results):

npx openlint lint api.yaml \
  --ruleset https://apicommons.org/assets/rulesets/experience-error-handling.yaml

Or run every rule, including the 3 that are engine built-ins or need the validator's own functions, in the API Commons validator. The other 50 are inlined in the file below.

Ruleset definition

Download YAML

Loading…

Rules in this ruleset (53)


← All experience rulesets