D-Wave · API Governance Rules
D-Wave API Rules
Spectral linting rules defining API design standards and conventions for D-Wave.
6 Rules
warn 6
Rule Categories
dwave
Rules
warn
dwave-info-contact
D-Wave API specs must include a contact pointing to docs.dwavequantum.com.
$.info
warn
dwave-server-sapi
Production SAPI servers must be under cloud.dwavesys.com or api.dwavesys.com.
$.servers[*].url
warn
dwave-security-token
Endpoints must declare the X-Auth-Token SAPI scheme or LeapOAuth.
$.components.securitySchemes
warn
dwave-operation-id-camelcase
operationId should be camelCase.
$.paths[*][*].operationId
warn
dwave-summary-title-case
Operation summary should be Title Case.
$.paths[*][*].summary
warn
dwave-problem-type-enum
Problem type fields must use the canonical six-value enum.
$..*[?(@property === 'type')]