API Explorer
Per-operation reference pages for every Spec0 public API, built for deep links and search. Auto-generated from the OpenAPI specs under `public/openapi-specs/`.
The Spec0 platform ships two OpenAPI surfaces. Every operation has its own page in the sidebar, with parameters, request/response schemas, and example payloads.
Surfaces
- Spec0 Public API — the customer-facing REST API (Bearer PAT/SAT) the CLI and SDKs use: manage and publish APIs, browse the registry, run mocks, diff specs, configure linting.
- Mock server admin — lifecycle calls (create, refresh, list, delete) for mock servers.
If you want to try a request interactively, the API Reference is a single-page Scalar console with a built-in request runner. Use this Explorer for deep links, search, and per-endpoint anchors.
Regenerating
The Public API spec is copied from the backend source of truth, then the per-operation pages are generated from it:
npm run gen:api-specs # public-api-v1-spec.yaml -> platform.yaml
npm run generate:openapi-pages # one MDX page per operationPages here are committed so spec changes show up in PR diffs, and a CI
drift-check fails the build if platform.yaml falls behind the backend spec.