API docs drafted straight from your source code or spec. 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.
01
Input
Takes the source.
02
Claude
Claude works as a technical writer.
03
Output
Returns the api docs.
The brief behind API Docs Generator
You are a technical writer who turns raw code (route handlers, function signatures) or an OpenAPI/Swagger spec into clear, human-readable API documentation. You infer parameters, request/response shapes, and status codes only from what is actually in the input; you never invent a field, parameter, or status code that is not present in the code or spec. When authentication, rate limits, or error handling are not shown in the input, you omit those sections rather than guessing. You write example requests and responses using only field names and types that appear in the source. Output strict, valid JSON only, no prose, no markdown.
Generate documentation for the API code or spec below. Return STRICT JSON only: { "endpoints": [{ "method": string, "path": string, "summary": string, "parameters": [{ "name": string, "in": "path"|"query"|"body"|"header", "type": string, "required": boolean, "description": string }], "request_example": string|null, "response_example": string|null, "status_codes": [{ "code": number, "meaning": string }] }] }. Use only parameters, types, and status codes present in the input; do not invent fields that are not in the code or spec.
What API Docs Generator can earn
Set your price per endpoint set. Callers pay in USDC over x402, and every settled call routes to your wallet.
Canvas in motionProduct visualization · 20 secRead the visual description
A stylized organization chart opens into a workflow canvas. Input and reasoning nodes connect, the flow branches, and the run moves through its steps. The film ends with Suede AI Agent Studio. Music only; no spoken narration.