Render · API Governance Rules
Render API Rules
Spectral linting rules defining API design standards and conventions for Render.
7 Rules
error 2
warn 3
Rule Categories
render
Rules
warn
render-operation-ids-camel-case
Render API operation IDs must use camelCase
$.paths[*][get,post,put,patch,delete].operationId
warn
render-tags-title-case
All tags must use Title Case
$.paths[*][get,post,put,patch,delete].tags[*]
warn
render-paths-kebab-case
Render API path segments must use kebab-case or camelCase IDs
$.paths
error
render-response-200-exists
All operations must define a 200 response
$.paths[*][get,post,put,patch,delete].responses
error
render-bearer-auth
Render API uses BearerAuth authentication scheme
$.components.securitySchemes
hint
render-resource-ids-in-path
Resource IDs in paths must use camelCase with Id suffix
$.paths
hint
render-pagination-cursor
List operations should support cursor-based pagination
$.paths[*].get.parameters[*].name