Salesloft · API Governance Rules
Salesloft API Rules
Spectral linting rules defining API design standards and conventions for Salesloft.
12 Rules
error 3
warn 5
Rule Categories
salesloft
Rules
warn
salesloft-summary-provider-prefix
All operation summaries must begin with "Salesloft" provider prefix
$.paths[*][*].summary
hint
salesloft-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
hint
salesloft-security-defined
Operations should define security requirements
$.paths[*][get,post,put,delete]
warn
salesloft-tags-title-case
Tags must use Title Case
$.tags[*].name
hint
salesloft-paths-kebab-case
Path segments should use kebab-case
$.paths
warn
salesloft-operation-tags-required
Operations must have at least one tag
$.paths[*][get,post,put,patch,delete]
error
salesloft-responses-required
Operations must define response codes
$.paths[*][get,post,put,patch,delete]
warn
salesloft-get-200-response
GET operations should define a 200 response
$.paths[*].get
hint
salesloft-post-success-response
POST operations should define a 200 or 201 response
$.paths[*].post
error
salesloft-info-title
API must have an info title
$.info
warn
salesloft-info-description
API must have an info description
$.info
error
salesloft-servers-defined
API must define servers
$