TomTom · API Governance Rules
TomTom API Rules
Spectral linting rules defining API design standards and conventions for TomTom.
8 Rules
error 2
warn 5
info 1
Rule Categories
tomtom
Rules
error
tomtom-api-key-required
All TomTom API operations must use API key authentication
$.components.securitySchemes
warn
tomtom-version-in-path
TomTom API paths must include a version number
$.paths[*]~
error
tomtom-operation-id-required
All operations must have an operationId
$.paths[*][get,post,put,patch,delete]
warn
tomtom-operation-id-camelcase
OperationIds must use camelCase
$.paths[*][*].operationId
warn
tomtom-tags-required
All operations must be tagged
$.paths[*][get,post,put,patch,delete]
warn
tomtom-summary-title-case
Operation summaries must use Title Case
$.paths[*][get,post,put,patch,delete].summary
info
tomtom-content-type-param
Response format path parameters must restrict to valid formats
$.paths[*][get,post].parameters[?(@.name == 'contentType' || @.name == 'format' || @.name == 'ext')]
warn
tomtom-success-response
Operations must define a 200 success response
$.paths[*][get,post].responses