API Explorer
TraderX now publishes interactive API reference docs in Docusaurus from the canonical OpenAPI contracts.
The explorer is intentionally state-scoped. Today it represents the baseline contracts in 001-baseline-uncontainerized-parity.
Browse​
- Explorer landing page:
/api(state scope fromcatalog/state-catalog.json) - Source contracts:
specs/001-baseline-uncontainerized-parity/contracts/**/openapi.yaml
Regenerate API Docs​
API docs are generated on demand when running docs start/build:
npm --prefix website run start
npm --prefix website run build
Manual explicit regeneration is also available:
npm --prefix website run gen:api-docs
Generated API docs are written to generated/api-docs/** and treated as ephemeral output.
The /api landing page is generated from:
catalog/state-catalog.json(active state scope)generated/api-docs/**(service docs output)
Plugin Stack​
docusaurus-plugin-openapi-docsdocusaurus-theme-openapi-docs
Configured in:
website/docusaurus.config.jswebsite/traderspec-api.sidebars.js