Corporate Bullshit Generator API · API Governance Rules
Corporate Bullshit Generator API API Rules
Spectral linting rules defining API design standards and conventions for Corporate Bullshit Generator API.
10 Rules
error 7
warn 3
Rule Categories
cbsg
Rules
warn
cbsg-info-contact
API info object should include contact information.
$.info
warn
cbsg-info-license
API should declare a license.
$.info
error
cbsg-server-https
Servers must use HTTPS.
$.servers[*].url
error
cbsg-server-host
Server URL must reference the public CBSG host.
$.servers[*].url
error
cbsg-root-path
API must define the root path.
$.paths
error
cbsg-get-only
The root path must only support GET.
$.paths['/']
warn
cbsg-no-auth
The API is unauthenticated; security must be empty or absent.
$.paths['/'].get
error
cbsg-json-response
200 response must return application/json.
$.paths['/'].get.responses.200.content
error
cbsg-phrase-property
Response schema must include a phrase property.
$.components.schemas.Phrase.properties
error
cbsg-operation-id
Operation must define an operationId.
$.paths.*.get