API Contract Testing

Gate an HTTP API against its OpenAPI spec on every pull request, with probes that check authorization and not just the happy path — using scout, an MIT CLI that needs no account and phones nobody home. Covers the config, the four probe kinds, why missing-auth is the one that earns its keep, safe defaults that make it usable against a live preview deployment, credential handling that keeps secrets out of logs, the two upstream traps that silently produce a wrong result, and where the gate belongs in CI. Use when adding API tests to a repo, wiring a contract gate into CI, testing a preview deployment, or deciding whether an OpenAPI spec is worth authoring first.

pooriaarab 557d90a 9.5 KB Updated

File contents

pooriaarab/skills/tree/main/api-contract-testing commit 557d90a6f9

Frequently asked questions

npx skillmds@latest add pooriaarab/api-contract-testing