ShipStation · API Governance Rules
ShipStation API Rules
Spectral linting rules defining API design standards and conventions for ShipStation.
13 Rules
error 5
warn 5
info 3
Rule Categories
shipstation
Rules
warn
shipstation-operation-id-camel-case
Operation IDs must use camelCase
$.paths[*][get,post,put,patch,delete].operationId
warn
shipstation-path-lowercase
Path segments must be lowercase (ShipStation uses lowercase paths)
$.paths
error
shipstation-must-have-summary
All operations must have a summary
$.paths[*][get,post,put,patch,delete]
warn
shipstation-must-have-tags
All operations must have at least one tag
$.paths[*][get,post,put,patch,delete]
error
shipstation-must-have-operation-id
All operations must have an operationId
$.paths[*][get,post,put,patch,delete]
error
shipstation-get-must-return-200
GET operations must return 200 response
$.paths[*].get
warn
shipstation-post-must-return-200
POST operations should return 200 response (ShipStation uses 200 for creates)
$.paths[*].post
info
shipstation-basic-auth
ShipStation uses HTTP Basic authentication
$.components.securitySchemes[*]
info
shipstation-paginated-list-fields
Paginated list responses should include items array, total, page, and pages
$.components.schemas[*PaginatedList]
error
shipstation-no-trailing-slash
Paths must not have trailing slashes
$.paths
error
shipstation-parameters-have-schema
All parameters must have a schema defined
$.paths[*][get,post,put,patch,delete].parameters[*]
info
shipstation-rate-limit-header
ShipStation enforces 40 req/min rate limit - document in description
$.info
warn
shipstation-ssapi-base-url
ShipStation V1 API base URL must be ssapi.shipstation.com
$.servers[*].url