Documentation for Antimetal, powered by Mintlify.
Requires Node 22.
Install dependencies:
npm installStart the local preview (fetches the latest OpenAPI spec, converts it, and starts the dev server):
npm run devPreview at http://localhost:3000.
| Script | Description |
|---|---|
npm run dev |
Fetch OAS, convert it, and start mint dev |
npm run fetch:oas |
Pull the latest OpenAPI YAML from Stainless into assets/openapi.with-code-samples.yml |
npm run mintlify:oas |
Convert the YAML to a Mintlify-compatible JSON at assets/openapi.mintlify.json |
The API reference tab is auto-generated from assets/openapi.mintlify.json. To update it, run npm run fetch:oas && npm run mintlify:oas (or just npm run dev).
The conversion script (scripts/mintlify-oas.js) patches JSON Schema draft-07 constructs that Mintlify's validator doesn't support.
Changes pushed to the default branch deploy automatically via the Mintlify GitHub app.