Waste Management · API Governance Rules
Waste Management API Rules
Spectral linting rules defining API design standards and conventions for Waste Management.
8 Rules
error 4
info 1
Rule Categories
wm
Rules
error
wm-required-request-tracking-header
All operations must accept a Request-Tracking-Id header parameter.
$.paths[*][get,post,put,patch,delete]
error
wm-required-client-id-header
All operations must accept a ClientId header parameter.
$.paths[*][get,post,put,patch,delete]
error
wm-bearer-auth-required
All WM API operations must declare bearerAuth security.
$.paths[*][get,post,put,patch,delete]
warning
wm-customer-id-path-param-name
Path parameters for customer identifiers must be named customerId.
$.paths['/customers/{customerId}*'][*].parameters[?(@.in == 'path')]
warning
wm-401-response-required
All authenticated operations must document a 401 Unauthorized response.
$.paths[*][get,post,put,patch,delete].responses
warning
wm-operation-id-camel-case
Operation IDs must use camelCase naming convention.
$.paths[*][*].operationId
info
wm-summary-title-case
Operation summaries must use Title Case.
$.paths[*][*].summary
error
wm-https-servers
All server URLs must use HTTPS.
$.servers[*].url