APISpec - Generate OpenAPI 3.1 specs from Go code with intelligent framework detection and call graph analysis. Supports Gin, Echo, Chi, Fiber, and net/http.
Self-documenting APIs for Go's net/http: wrap your ServeMux and it serves a /docs UI (Scalar, Swagger UI, Redoc, Stoplight) plus the generated OpenAPI 3.0/3.1/3.2 spec. Zero dependencies.
Docs your AI agent can write and your CI can check. Markdown + typed YAML blocks for diagrams, API docs, ADRs, and slides, rendered by code, never drawn by the model.
Generate OpenAPI v3 specs from Go source code via static analysis — no magic comments, no annotations, no codegen. Framework-agnostic (chi, gin, echo), with a fluent metadata API for overrides.