Claude Code How-To Guide

description: Create comprehensive API documentation from source code

API Documentation Generator

Generate API documentation by:

  1. Scanning all files in /src/api/
  2. Extracting function signatures and JSDoc comments
  3. Organizing by endpoint/module
  4. Creating markdown with examples
  5. Including request/response schemas
  6. Adding error documentation

Output format: - Markdown file in /docs/api.md - Include curl examples for all endpoints - Add TypeScript types


Last Updated: August 4, 2026 Claude Code Version: 2.1.220 Sources: - https://code.claude.com/docs/en/commands Compatible Models: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5

Content rendered from API Documentation Generator on GitHub. Markdown is the single source of truth — re-run scripts/build_website.py after editing to refresh the site.