Marketplace/API Doc Generator
WRITING & DOCS

API Doc Generator

Generates OpenAPI specs and Markdown docs from your API route handlers.

apidocumentationopenapicode-generation

About this skill

API Doc Generator reads your API route handlers — Express, FastAPI, Next.js API routes, or raw HTTP handlers — and generates both an OpenAPI 3.1 spec and human-readable Markdown documentation.

The skill parses your route files to extract endpoints, HTTP methods, request/response schemas (from TypeScript types, Zod schemas, or Pydantic models), path parameters, query parameters, and authentication requirements. It generates accurate request/response examples based on the detected types.

Output includes a `openapi.yaml` spec file and a `API.md` documentation file with per-endpoint sections including method, path, parameters, request body, response shape, and curl examples. Requires no external services — the skill reads source files and writes documentation files locally.

Key features

  • Parses Express, FastAPI, and Next.js API routes
  • Generates OpenAPI 3.1 YAML specs
  • Auto-generates curl examples per endpoint
  • Extracts schemas from TypeScript, Zod, and Pydantic

Permissions

  • Read files
  • Write files
TRUST SCORE
98/100
safe
FINDINGS — 2 TOTAL
critical
0
high
0
medium
1
low
0
info
1
INSTALL
Download SKILL.md
SC
Scandar
@scandar
Version2.1.0
Last updated2026-03-04
Downloads2.0K
Created2025-11-05
Scandar Verified
RELATED SKILLS