Sinch · API Governance Rules
Sinch API Rules
Spectral linting rules defining API design standards and conventions for Sinch.
10 Rules
error 4
warn 5
info 1
Rule Categories
sinch
Rules
error
sinch-bearer-auth
All Sinch API operations must use Bearer token authentication
$.paths.*.*.security
error
sinch-versioned-paths
All Sinch API paths must include a version segment (v1, v2, etc.)
$.paths[*]~
warn
sinch-project-id-in-path
Resource paths should include project_id as a path parameter
$.paths[?(@property.match(/projects/))]
error
sinch-camel-case-operation-ids
All operationId values must use camelCase
$.paths.*.*.operationId
warn
sinch-title-case-summaries
All operation summaries must use Title Case
$.paths.*.*.summary
warn
sinch-tags-required
All operations must have at least one tag
$.paths.*.*
warn
sinch-contact-info
API info must include contact information
$.info
info
sinch-external-docs
API should include external documentation link
$
warn
sinch-terms-of-service
API info must include terms of service URL
$.info
error
sinch-servers-defined
API must define at least one server
$