Generate OpenAPI specs and Markdown docs from source code.
Generate comprehensive API documentation from your codebase — OpenAPI specs, endpoint references, request/response examples, and integration guides.
claude skill install api-docs-writer
# Generate API docs from your Express/FastAPI/Next.js routes
/api-docs-writer generate
# Create an OpenAPI spec from source code
/api-docs-writer openapi --output api-spec.yaml
Parses your route definitions, middleware, validation schemas, and type annotations to build a complete API model. Generates documentation that includes authentication requirements, rate limits, pagination patterns, and error handling. Outputs in multiple formats: Markdown, OpenAPI YAML, and interactive HTML.
Works with Claude Code, Codex, Gemini CLI, Cursor, Windsurf, and Aider.