Walk Score · API Governance Rules
Walk Score API Rules
Spectral linting rules defining API design standards and conventions for Walk Score.
7 Rules
error 3
warn 4
Rule Categories
walk
Rules
error
walk-score-api-key-required
All Walk Score API requests must include the wsapikey parameter
$.paths[*][get].parameters[*]
error
walk-score-https-only
All Walk Score API server URLs must use HTTPS
$.servers[*].url
error
walk-score-operation-ids
All Walk Score API operations must have operationId
$.paths[*][get,post,put,patch,delete]
warn
walk-score-operation-summaries
All Walk Score API operations must have a summary in Title Case
$.paths[*][get,post,put,patch,delete]
warn
walk-score-lat-lon-params
Walk Score location endpoints should document lat and lon parameters
$.paths[*][get].parameters
warn
walk-score-json-format-support
Walk Score API endpoints should support JSON response format
$.paths[*][get].responses[200].content
warn
walk-score-status-codes
Walk Score API responses should include error status codes
$.paths[*][get].responses