Postman Collection
Postman collection and environment files for testing the Adblock Compiler API.
Auto-generated — do not edit these files directly. Run
deno task postman:collectionto regenerate fromdocs/api/openapi.yaml.
Files
postman-collection.json- Postman collection with all API endpoints and tests (auto-generated)postman-environment.json- Postman environment with local and production variables (auto-generated)
Regenerating
Both files are generated automatically from the canonical OpenAPI spec:
deno task postman:collection
The CI pipeline (validate-postman-collection job) enforces that these files stay in sync with docs/api/openapi.yaml. If you modify the spec, run the task above and commit the updated files — CI will fail otherwise.
Schema hierarchy
docs/api/openapi.yaml ← canonical source of truth (edit this)
docs/api/cloudflare-schema.yaml ← auto-generated (deno task schema:cloudflare)
docs/postman/postman-collection.json ← auto-generated (deno task postman:collection)
docs/postman/postman-environment.json ← auto-generated (deno task postman:collection)
Quick Start
- Open Postman and click Import
- Import
postman-collection.jsonto add all API requests - Import
postman-environment.jsonto configure environments - Select the Adblock Compiler API - Local environment
- Start the server:
deno task dev - Run requests individually or as a collection
Related
- Postman Testing Guide - Complete guide with Newman CLI, CI/CD integration, and advanced testing
- API Documentation - REST API reference
- OpenAPI Tooling - API specification validation