Comeet · API Governance Rules
Comeet API Rules
Spectral linting rules defining API design standards and conventions for Comeet.
8 Rules
error 3
warn 4
info 1
Rule Categories
comeet
Rules
error
comeet-info-contact
API info must include a contact block.
$.info
error
comeet-server-https
Server URLs must use HTTPS.
$.servers[*].url
warn
comeet-server-host
Public server URL should point to comeet.co.
$.servers[*].url
info
comeet-careers-base-path
Careers API server URL should include /careers-api/2.0.
$.servers[*].url
error
comeet-operation-id
Every operation must declare a unique operationId.
$.paths[*][get,post,put,patch,delete]
warn
comeet-operation-tags
Operations must declare at least one tag.
$.paths[*][get,post,put,patch,delete]
warn
comeet-token-query-param
Read endpoints must accept the public company `token` query parameter.
$.paths[*].get.parameters
warn
comeet-company-uid-path
Company-scoped endpoints must use a {company_uid} path parameter.
$.paths[?(@property.indexOf('company') > -1)]