Zuplo · API Governance Rules
Zuplo API Rules
Spectral linting rules defining API design standards and conventions for Zuplo.
9 Rules
error 2
warn 6
info 1
Rule Categories
zuplo
Rules
warn
zuplo-operation-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
error
zuplo-operation-id-required
All operations must have an operationId
$.paths[*][*]
warn
zuplo-account-name-path-param
Account-scoped paths must use {accountName} parameter
$.paths['/v1/accounts/{accountName}/*']
warn
zuplo-kebab-case-paths
Path segments must use kebab-case
$.paths[*]~
error
zuplo-response-200-defined
All operations must define a 200 or 201 response
$.paths[*][get,post,put,patch]
info
zuplo-bearer-auth-scheme
API uses Bearer token authentication
$.components.securitySchemes.ApiKeyAuth
warn
zuplo-tags-required
All operations must have at least one tag
$.paths[*][*].tags
warn
zuplo-delete-no-body
DELETE operations should not have a request body
$.paths[*].delete.requestBody
warn
zuplo-patch-has-request-body
PATCH operations should have a request body
$.paths[*].patch