Snowplow · API Governance Rules
Snowplow API Rules
Spectral linting rules defining API design standards and conventions for Snowplow.
8 Rules
error 2
warn 4
info 2
Rule Categories
snowplow
Rules
warn
snowplow-operation-id-camel-case
Operation IDs must use camelCase
$.paths[*][*].operationId
warn
snowplow-org-scoped-paths
All Snowplow Console API paths should be scoped to an organization
$.paths[*]~
error
snowplow-security-defined
Operations must define security (JWT bearer token)
$.paths[*][get,post,put,delete,patch]
warn
snowplow-operation-tag
All operations must have at least one tag
$.paths[*][get,post,put,delete,patch]
warn
snowplow-operation-summary
All operations must have a summary
$.paths[*][get,post,put,delete,patch]
info
snowplow-operation-description
Operations should have a description
$.paths[*][get,post,put,delete,patch]
error
snowplow-path-params-required
All path parameters must have required=true
$.paths[*][*].parameters[?(@.in == 'path')]
info
snowplow-path-version-suffix
Snowplow Console API uses version suffixes in resource paths (v1, v2)
$.paths[*]~