Gopuff · API Governance Rules
Gopuff API Rules
Spectral linting rules defining API design standards and conventions for Gopuff.
Gopuff API Rules is a Spectral governance ruleset published by Gopuff on the APIs.io network, containing 8 lint rules.
The ruleset includes 7 error-severity rules and 1 warning-severity rule.
Tagged areas include Quick Commerce, Instant Delivery, Last Mile, Grocery, and Fulfillment.
Rulesets can be applied to your own OpenAPI specs via Spectral to enforce the same governance standards.
8 Rules
error 7
warn 1
Rule Categories
gopuff
Rules
error
gopuff-info-contact-defined
Powered by Gopuff specs must include a contact for partner support.
$.info
error
gopuff-info-terms-defined
Powered by Gopuff specs must reference the Gopuff terms of service.
$.info
error
gopuff-server-must-be-partner-host
All servers must point at fulfillment-api-eus.partners.gopuff.com under the /shopify/v1 base.
$.servers[*].url
warn
gopuff-operation-summary-title-case
Operation summaries must use Title Case.
$.paths[*][get,post,put,patch,delete].summary
error
gopuff-operation-id-camel-case
operationId values must use camelCase.
$.paths[*][get,post,put,patch,delete].operationId
error
gopuff-operation-must-have-tag
Every operation must declare exactly one tag.
$.paths[*][get,post,put,patch,delete].tags
error
gopuff-security-required
The partner API requires the X-Gopuff-Partner-Key apiKey scheme on every operation.
$.paths[*][get,post,put,patch,delete]
error
gopuff-error-schema-defined
A reusable Error schema must be defined in components.
$.components.schemas