Roblox Engine API · API Governance Rules
Roblox Engine API API Rules
Spectral linting rules defining API design standards and conventions for Roblox Engine API.
11 Rules
error 2
warn 5
info 4
Rule Categories
roblox
Rules
warn
roblox-operation-has-tag
All operations must have at least one tag
$.paths[*][get,post,put,patch,delete]
error
roblox-operation-has-summary
All operations must have a summary
$.paths[*][get,post,put,patch,delete]
error
roblox-operation-has-operation-id
All operations must have an operationId
$.paths[*][get,post,put,patch,delete]
warn
roblox-api-key-auth
Roblox Open Cloud uses x-api-key header authentication
$.components.securitySchemes[*]
info
roblox-versioned-cloud-paths
Open Cloud v2 paths should use /cloud/v2/ prefix
$.paths[*]~
warn
roblox-universe-id-path-param
Universe endpoints should use universeId as path parameter
$.paths[*][*].parameters[?(@.in === 'path' && @.name === 'universe_id')]
warn
roblox-camel-case-operation-id
OperationIds should use camelCase
$.paths[*][get,post,put,patch,delete].operationId
info
roblox-pagination-uses-page-token
Cloud v2 list endpoints should use pageToken for pagination
$.paths[*].get.parameters[?(@.name === 'pageToken')]
warn
roblox-responses-have-error-schema
Error responses should reference an error schema
$.paths[*][*].responses[4*].content[*]
info
roblox-patch-uses-update-mask
PATCH operations should support updateMask query parameter
$.paths[*].patch
info
roblox-schema-has-description
Schema components should have descriptions
$.components.schemas[*]