Jobber · API Governance Rules
Jobber API Rules
Spectral linting rules defining API design standards and conventions for Jobber.
6 Rules
error 3
warn 3
Rule Categories
jobber
Rules
warn
jobber-info-contact-email
Jobber API specs must include the official api-support contact email.
$.info.contact
error
jobber-server-base-url
Production server must point to https://api.getjobber.com.
$.servers[*]
error
jobber-graphql-endpoint
There must be exactly one POST /api/graphql operation.
$.paths
warn
jobber-graphql-version-header
GraphQL operation should declare the X-JOBBER-GRAPHQL-VERSION header parameter.
$.paths['/api/graphql'].post.parameters[?(@.name=='X-JOBBER-GRAPHQL-VERSION')]
error
jobber-bearer-security
Bearer security scheme is required for the GraphQL endpoint.
$.components.securitySchemes
warn
jobber-summaries-title-case
Operation summaries should use Title Case.
$.paths..[get,post,put,patch,delete].summary