experience-usability.html
Developer-experience details that make the API easy to learn and consume.
Run this ruleset
Lint any matching artifact against this ruleset with the Spotlight CLI:
npm i -g @spotlight-rules/spotlight-cli spotlight lint api.yaml \ --ruleset https://apicommons.org/assets/rulesets/experience-usability.spotlight.yaml
Or load it into the browser validator, post it to the HTTP API, or wire it into a CI gate. 9 of these rules are the engine's built-ins (they come with spotlight:*); the other 108 are inlined in the file below.
Ruleset definition
Loading…
Rules in this ruleset (117)
Skill Body Length
Agent Skill
Skill Description Length
Agent Skill
Skill Description Single Line
Agent Skill
Skill Name Max Length
Agent Skill
API Property Require Go SDK
APIs.json
API Property Require Java SDK
APIs.json
API Property Require Node SDK
APIs.json
API Property Require Python SDK
APIs.json
API Property Require Sandbox
APIs.json
API Property Require SDK
APIs.json
API Property Require Signup
APIs.json
API Property Require Support Email
APIs.json
API Property Require Support Issues URL
APIs.json
API Property Require Support Page
APIs.json
API Require Base URL
APIs.json
Schema Include API Plan
APIs.json
Schema Include Developer Portal
APIs.json
Schema Include Discussion Forum
APIs.json
Schema Include Documentation
APIs.json
Schema Include Examples
APIs.json
Schema Include Feedback Email
APIs.json
Schema Include Feedback Issues URL
APIs.json
Schema Include Getting Started
APIs.json
Schema Include Insomnia Collection
APIs.json
Schema Include Mock Server
APIs.json
Schema Include Postman Collection
APIs.json
Schema Include Postman Public Workspace
APIs.json
Schema Include Pricing
APIs.json
Schema Include Production Environment
APIs.json
Schema Include Questions Issues URL
APIs.json
Schema Include Staging Environment
APIs.json
Document Require Server Defined
OpenAPI
Header Require Examples
OpenAPI
Limit Nested Sub Resources
OpenAPI
Limit Path Length
OpenAPI
Limit Path Parameter
OpenAPI
Message Require Examples
OpenAPI
Operation Post Not For Retrieval
OpenAPI
Operation Require ID
OpenAPI
Operation Require Identifier
OpenAPI
Operation Write Support If Match
OpenAPI
Parameter No ID Query
OpenAPI
Parameter Query Must Be Optional
OpenAPI
Parameter Require Examples
OpenAPI
Parameter Sort Param Only On Get
OpenAPI
Path Max Nesting Depth
OpenAPI
Path Parameter Not Empty
OpenAPI
Path Require Query Parameter
OpenAPI
Request Content Require Examples
OpenAPI
Request Delete No Body
OpenAPI
Request Get No Body
OpenAPI
Request Support Accept Encoding
OpenAPI
Request Support Accept Language
OpenAPI
Request Support Baggage
OpenAPI
Request Support Correlation ID
OpenAPI
Request Support JSON Media Type
OpenAPI
Request Support Tracestate
OpenAPI
Request Support XML Media Type
OpenAPI
Response 202 Location Header
OpenAPI
Response 202 Retry After
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 Return Correlation ID
OpenAPI
Response Write ETag
OpenAPI
Schema Property Require Examples
OpenAPI
Server Must Not Specify Port
OpenAPI
Plan Require Description
Plans
Plan Require Features
Plans
Plan Require Interval
Plans
Plan Require Price
Plans