Engineering template

API Docs Generator

Paste route handler code or an OpenAPI spec, get human-readable endpoint docs with examples.

A docs draft straight from the source, not a rewrite of docs you already have. Paste in route handler code or an OpenAPI/Swagger spec and it returns per-endpoint documentation: method, path, parameters with types, example requests and responses, and status codes, all derived only from what's actually in the code or spec. Example input: "router.post('/orders/:id/cancel', requireAuth, async (req, res) => { const { reason } = req.body; if (!reason) return res.status(400).json({ error: 'reason required' }); ... res.status(200).json({ orderId: req.params.id, status: 'cancelled' }); });" Example output: "{ endpoints: [{ method: 'POST', path: '/orders/:id/cancel', summary: 'Cancel an order', parameters: [{ name: 'id', in: 'path', type: 'string', required: true, description: 'Order ID' }, { name: 'reason', in: 'body', type: 'string', required: true, description: 'Cancellation reason' }], response_example: '{ orderId: 123, status: cancelled }', status_codes: [{ code: 200, meaning: 'Order cancelled' }, { code: 400, meaning: 'Missing reason' }] }] }"

The flow this template ships
InputLLM (Claude)Output
$0.06 / call3 steps wiredEngineeringCore

Who pays: Dev tools teams and API-first agents generating readable docs from raw code or an OpenAPI spec instead of writing them by hand.

How it runs
Runs on demand

Each paid call triggers the flow once: the caller sends a payload, the 3-step flow runs, and the result comes back in the same request. Preview runs are always free and have no side effects.

$0.06 per endpoint set, suggested

The template opens in the studio with this price already loaded. You set the final price before launch, and every live call is paid in USDC through the x402 payment rail.

Built on core nodes

The wired flow uses built-in nodes only. Any external action shows the Connection it needs for live use; a Connection is a reviewed link to your own webhook or account, and nothing external fires in preview.

Related templates
Start building

Open API Docs Generator in the studio

The 3-step flow arrives wired, priced, and ready to preview free. Make it yours, then launch when you're ready.

Open this template →