Walmart · API Governance Rules
Walmart API Rules
Spectral linting rules defining API design standards and conventions for Walmart.
10 Rules
error 4
warn 6
Rule Categories
walmart
Rules
error
walmart-operation-ids-required
All operations must have an operationId
$.paths[*][*]
warn
walmart-operation-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
error
walmart-operation-tags-required
All operations must have at least one tag
$.paths[*][*]
warn
walmart-required-headers-defined
Walmart APIs require WM_SEC.ACCESS_TOKEN, WM_QOS.CORRELATION_ID, and WM_SVC.NAME headers on all operations
$.paths[*][get,post,put,patch,delete].parameters
warn
walmart-servers-include-sandbox
Walmart APIs should define both production and sandbox server URLs
$.servers
error
walmart-info-description
Info object must have a description
$.info
error
walmart-response-success-defined
Operations must define a successful (2xx) response
$.paths[*][*].responses
warn
walmart-paths-versioned
All paths must be versioned with /v3/ prefix for marketplace APIs
$.paths
warn
walmart-json-content-type
Request bodies should use application/json content type
$.paths[*][post,put,patch].requestBody.content
warn
walmart-response-schema-reference
Successful responses should reference a schema component
$.paths[*][*].responses['200'].content['application/json']
Spectral Ruleset
Work with this as data
Every ruleset here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for spectral rules
4 MCP tools reach this
find_rulesBrowse and filter every ruleset in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/walmart-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.