experience-performance.html
Caching, payload, and efficiency signals that keep the API fast.
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-performance.yaml
Or run every rule, including the 0 that are engine built-ins or need the validator's own functions, in the API Commons validator. The other 32 are inlined in the file below.
Ruleset definition
Loading…
Rules in this ruleset (32)
Schema Include Rate Limit Reference
APIs.json
Document Cache Control Parameter
OpenAPI
Document Cache Response Header
OpenAPI
Operation Define 429 Response
OpenAPI
Request Support Accept Encoding
OpenAPI
Response 202 Retry After
OpenAPI
Response Define 429
OpenAPI
Response Get Cache Control
OpenAPI
Response Get ETag
OpenAPI
Response Get Last Modified
OpenAPI
Response Get Link Header
OpenAPI
Response Get Vary
OpenAPI
Response Ratelimit Header
OpenAPI
Response Ratelimit Policy
OpenAPI
Response Write ETag
OpenAPI