Crunchbase · API Governance Rules
Crunchbase API Rules
Spectral linting rules defining API design standards and conventions for Crunchbase.
7 Rules
error 2
warn 5
Rule Categories
crunchbase
Rules
warn
crunchbase-info-contact
Crunchbase API specs must declare a contact.
$.info
error
crunchbase-server-https
Crunchbase API servers must use HTTPS.
$.servers[*].url
warn
crunchbase-api-version-path
Crunchbase server URL must include a versioned path (e.g. /api/v4).
$.servers[*].url
error
crunchbase-api-key-auth
Crunchbase endpoints must declare API key security.
$.components.securitySchemes
warn
crunchbase-operation-tag
Every Crunchbase operation must have at least one tag.
$.paths[*][get,post,put,patch,delete]
warn
crunchbase-operation-id-camel
Crunchbase operation IDs should be camelCase.
$.paths[*][get,post,put,patch,delete].operationId
warn
crunchbase-entity-id-param
Entity lookup paths should use entity_id path parameter.
$.paths[?(@property.match(/^\/entities\//))][get].parameters[*].name