Sendoso · API Governance Rules
Sendoso API Rules
Spectral linting rules defining API design standards and conventions for Sendoso.
8 Rules
error 5
warn 2
info 1
Rule Categories
sendoso
Rules
warn
sendoso-operation-id-camel-case
Sendoso operationIds use camelCase
$.paths[*][get,post,put,patch,delete].operationId
error
sendoso-operation-id-required
All operations must have an operationId
$.paths[*][get,post,put,patch,delete]
error
sendoso-operation-summary-required
All operations must have a summary
$.paths[*][get,post,put,patch,delete]
error
sendoso-operation-tags-required
All operations must be tagged
$.paths[*][get,post,put,patch,delete]
warn
sendoso-valid-tags
Operations must use defined tags
$.paths[*][get,post,put,patch,delete].tags[*]
info
sendoso-list-pagination
List operations should support page and per_page pagination
$.paths[*].get
error
sendoso-security-defined
API must define security (X-Api-Key)
$
error
sendoso-success-response
Operations must define success response
$.paths[*][get,post,put,patch,delete].responses