Trimble Navigation · API Governance Rules
Trimble Navigation API Rules
Spectral linting rules defining API design standards and conventions for Trimble Navigation.
8 Rules
error 3
warn 5
Rule Categories
trimble
Rules
error
trimble-nav-operation-id-required
All operations must have a camelCase operationId
$.paths[*][get,post,put,delete,patch]
warn
trimble-nav-operation-id-camel-case
Operation IDs must use camelCase
$.paths[*][get,post,put,delete,patch].operationId
warn
trimble-nav-versioned-path
All API paths must use versioned prefix
$.paths[*]~
error
trimble-nav-response-200-required
All operations must define a 200 success response
$.paths[*][get,post,put,delete,patch].responses
warn
trimble-nav-operation-tags-required
All operations must have at least one tag
$.paths[*][get,post,put,delete,patch]
warn
trimble-nav-basic-auth
API must use basic auth with computed access code
$.components.securitySchemes[*]
warn
trimble-nav-coordinate-precision
Latitude and longitude must use double precision
$.components.schemas[*].properties[?(@property == 'latitude' || @property == 'longitude')]
error
trimble-nav-path-params-required
Path parameters must be required
$.paths[*][*].parameters[?(@.in == 'path')]