CDK Global · API Governance Rules
CDK Global API Rules
Spectral linting rules defining API design standards and conventions for CDK Global.
10 Rules
error 2
warn 5
Rule Categories
fortellis
Rules
warn
fortellis-host-required
Fortellis APIs declare api.fortellis.io as host (or fortellis.io for legacy specs).
$.host
error
fortellis-basepath-versioned
Fortellis basePath must include a /v{N} version segment (e.g., /service/sessions/v4/).
$.basePath
warn
fortellis-operation-id-camel-case
Fortellis operationIds use camelCase (e.g., queryAppointments, getProductInfo).
$.paths[*][get,post,put,patch,delete].operationId
error
fortellis-operation-id-required
All Fortellis operations must declare an operationId.
$.paths[*][get,post,put,patch,delete]
warn
fortellis-oauth-required
Fortellis APIs must define an OAuth2 securityDefinition pointing at identity.fortellis.io.
$.securityDefinitions[?(@.type=='oauth2')].authorizationUrl
hint
fortellis-event-channel-path
Event Relay webhook endpoints must follow /event/{channel} path pattern.
$.paths[?(@property.startsWith('/event'))]~
warn
fortellis-required-event-headers
Event-receiving operations must accept Fortellis-Event-Id, X-Request-Id, Data-Owner-Id headers.
$.paths[?(@property.startsWith('/event'))][post]
hint
fortellis-tags-titlecase
Tags should use Title Case for marketplace and docs consistency.
$.tags[*].name
hint
fortellis-contact-fortellis-email
Specifications should list a Fortellis-domain support contact email.
$.info.contact.email
warn
fortellis-description-required
Every operation must have a description (for marketplace listings + AI consumption).
$.paths[*][get,post,put,patch,delete]