Bump.sh · API Governance Rules
Bump.sh API Rules
Spectral linting rules defining API design standards and conventions for Bump.sh.
12 Rules
error 1
warn 7
info 4
Rule Categories
bump
Rules
warn
bump-sh-title-case-summaries
Operation summaries must be Title Case (Bump.sh convention).
$.paths[*][get,post,put,patch,delete].summary
warn
bump-sh-operation-id-camel-case
operationId must be camelCase.
$.paths[*][get,post,put,patch,delete].operationId
warn
bump-sh-tag-title-case
All tag names must be Title Case (Bump.sh navigation convention).
$.tags[*].name
error
bump-sh-token-auth-required
Bump.sh APIs use HTTP Token (Bearer-style) authentication.
$.components.securitySchemes
warn
bump-sh-server-versioned
Server URL should include /api/{version} segment.
$.servers[*].url
info
bump-sh-uuid-id-fields
Top-level `id` fields should be UUIDs (Bump.sh convention).
$.components.schemas[*].properties.id
warn
bump-sh-error-component
An Error schema should be defined to standardize error responses.
$.components.schemas
info
bump-sh-diff-and-version-tagged
Diff and Version operations must be tagged correctly.
$.paths['/diffs','/diffs/{id}'][*]
info
bump-sh-webhook-defined
Bump.sh-style providers should publish a webhook surface for change notifications.
$
warn
bump-sh-mcp-deploy-tag
MCP server deployment operations should be tagged 'MCP Servers'.
$.paths[?(@property.match(/^\/mcp_servers/))][*].tags
warn
bump-sh-info-contact-required
info.contact must be populated.
$.info
info
bump-sh-pagination-params
Collection-list operations should accept page + per_page query parameters.
$.paths[?(@property.match(/s$/))].get.parameters