DroneDeploy · API Governance Rules
DroneDeploy API Rules
Spectral linting rules defining API design standards and conventions for DroneDeploy.
5 Rules
error 3
warn 2
Rule Categories
dronedeploy
Rules
error
dronedeploy-graphql-single-endpoint
DroneDeploy exposes a single GraphQL endpoint at /graphql; no other REST paths should appear.
$.paths
error
dronedeploy-graphql-post-only
The /graphql endpoint must only support POST.
$.paths['/graphql']
error
dronedeploy-bearer-auth
Security must use BearerAuth (Authorization Bearer API key).
$.components.securitySchemes
warn
dronedeploy-operation-summary-title-case
All operation summaries should be Title Case and begin with "DroneDeploy".
$.paths..post.summary
warn
dronedeploy-request-includes-graphql-query
Every operation's request body should reference the GraphQLRequest schema.
$.paths..post.requestBody.content['application/json'].schema['$ref']