Sybase · API Governance Rules
Sybase API Rules
Spectral linting rules defining API design standards and conventions for Sybase.
8 Rules
error 1
warn 6
Rule Categories
sybase
Rules
hint
sybase-server-path-prefix
All resource paths should be under /servers/{serverId}
$.paths
warn
sybase-operation-id-camel-case
Operation IDs must use camelCase naming convention
$.paths[*][get,post,put,patch,delete]
warn
sybase-summary-title-case
Operation summaries must use Title Case
$.paths[*][get,post,put,patch,delete].summary
warn
sybase-create-returns-201
POST operations that create resources should return 201 Created
$.paths[*].post.responses
error
sybase-server-id-required
serverId path parameter must be marked as required
$.paths[*][get,post,put,patch,delete].parameters[?(@.name == 'serverId')]
warn
sybase-operation-tags
All operations must have at least one tag
$.paths[*][get,post,put,patch,delete]
warn
sybase-auth-response
All operations must document 401 Unauthorized response
$.paths[*][get,post,put,patch,delete].responses
warn
sybase-operation-description
Operations must have descriptions
$.paths[*][get,post,put,patch,delete]