Replit · API Governance Rules
Replit API Rules
Spectral linting rules defining API design standards and conventions for Replit.
8 Rules
error 2
warn 5
Rule Categories
replit
Rules
warn
replit-operation-id-dot-notation
Replit operationIds must use dot-notation
$.paths.*.*
error
replit-operation-id-required
All Replit operations must have an operationId
$.paths.*[get,post,put,patch,delete]
warn
replit-summary-title-case
Operation summaries must use Title Case
$.paths.*.*
error
replit-bearer-auth
Replit API uses Bearer token authentication
$.components.securitySchemes.*
hint
replit-paginated-list-response
List responses must use items/nextCursor pagination envelope
$.paths.*[get][responses][200][content][application/json][schema][properties]
warn
replit-delete-returns-204
DELETE operations must return 204
$.paths.*[delete][responses]
warn
replit-path-camel-case-params
Path parameters must use camelCase
$.paths.*.*[parameters][?(@.in == 'path')]
warn
replit-tags-title-case
All tags must use Title Case
$.paths.*.*.tags.*