Ubuntu · API Governance Rules
Ubuntu API Rules
Spectral linting rules defining API design standards and conventions for Ubuntu.
6 Rules
error 1
warn 5
Rule Categories
ubuntu
Rules
warn
ubuntu-operation-id-camel-case
Operation IDs must use camelCase.
$.paths[*][get,post,put,patch,delete].operationId
warn
ubuntu-has-tags
All operations must have at least one tag.
$.paths[*][get,post,put,patch,delete]
error
ubuntu-has-operation-id
All operations must have an operationId.
$.paths[*][get,post,put,patch,delete]
warn
ubuntu-has-description
All operations must have a description.
$.paths[*][get,post,put,patch,delete]
warn
ubuntu-summary-title-case
Operation summaries must use Title Case.
$.paths[*][get,post,put,patch,delete].summary
warn
ubuntu-200-response-content
Successful GET responses should define a content schema.
$.paths[*].get.responses.200