# go-apispec

> Generate OpenAPI 3.1 specs from Go source code via static analysis — zero annotations, automatic framework detection

- **URL**: https://www.freshcrate.ai/projects/go-apispec
- **Author**: antst
- **Category**: Frameworks
- **Latest version**: `v0.4.14` (2026-05-20)
- **License**: Apache-2.0
- **Source**: https://github.com/antst/go-apispec
- **Language**: Go
- **GitHub**: 27 stars
- **Registry**: github
- **Tags**: `chi`, `code-generation`, `echo`, `fiber`, `gin`, `go`, `golang`, `gorilla-mux`

## Description

Generate OpenAPI 3.1 specs from Go source code via static analysis — zero annotations, automatic framework detection

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `v0.4.14` | 2026-05-20 | High | ## What's Changed * test: meaningful unit tests to bump coverage above 95% by @antst in https://github.com/antst/go-apispec/pull/28 * fix: filter helper-internal error-fallback writes from caller schemas (#27) by @antst in https://github.com/antst/go-apispec/pull/29   **Full Changelog**: https://github.com/antst/go-apispec/compare/v0.4.13...v0.4.14 |
| `v0.4.9` | 2026-04-28 | High | ## What's Changed * feat: JSON DTO format inference + requestBody.required by @antst in https://github.com/antst/go-apispec/pull/17   **Full Changelog**: https://github.com/antst/go-apispec/compare/v0.4.8...v0.4.9 |
| `v0.4.7` | 2026-04-14 | High | ## What's Changed * feat: extract Go doc comments as OpenAPI summary/description by @antst in https://github.com/antst/go-apispec/pull/14   **Full Changelog**: https://github.com/antst/go-apispec/compare/v0.4.6...v0.4.7 |
| `v0.4.6` | 2026-04-08 | High | ## What's Changed * fix: isLikelyMediaType rejects Go module paths with multiple slashes by @antst in https://github.com/antst/go-apispec/pull/11   **Full Changelog**: https://github.com/antst/go-apispec/compare/v0.4.5...v0.4.6 |
| `v0.4.5` | 2026-04-08 | Medium | ## What's Changed * fix: dynamic content-type falls back to application/octet-stream by @antst in https://github.com/antst/go-apispec/pull/10   **Full Changelog**: https://github.com/antst/go-apispec/compare/v0.4.4...v0.4.5 |
| `v0.4.4` | 2026-04-08 | Medium | ## What's Changed * feat: detect error responses through helper functions via ParamArgMap by @antst in https://github.com/antst/go-apispec/pull/9   **Full Changelog**: https://github.com/antst/go-apispec/compare/v0.4.3...v0.4.4 |
| `v0.4.3` | 2026-04-06 | Medium | ## What's Changed * test: comprehensive coverage push — 86% to 96% by @antst in https://github.com/antst/go-apispec/pull/8   **Full Changelog**: https://github.com/antst/go-apispec/compare/v0.4.2...v0.4.3 |
| `v0.4.2` | 2026-04-05 | Medium | ## What's Changed * ci: update action versions and use official golangci-lint action by @antst in https://github.com/antst/go-apispec/pull/6 * feat: nested ServeMux support for net/http by @antst in https://github.com/antst/go-apispec/pull/7   **Full Changelog**: https://github.com/antst/go-apispec/compare/v0.4.1...v0.4.2 |
| `v0.4.1` | 2026-04-03 | Medium | ## What's Changed * fix: add CI/Release badges, fix test that mutated fixture file by @antst in https://github.com/antst/go-apispec/pull/2 * feat: multi-framework detection and pattern merging by @antst in https://github.com/antst/go-apispec/pull/1 * test: comprehensive coverage improvement — 67% to 85% by @antst in https://github.com/antst/go-apispec/pull/3 * fix: detector tests use []string after multi-framework merge by @antst in https://github.com/antst/go-apispec/pull/4 * docs: rewrite READ |
| `v0.4.0` | 2026-04-03 | Medium | **Full Changelog**: https://github.com/antst/go-apispec/commits/v0.4.0  **Full Changelog**: https://github.com/antst/go-apispec/commits/v0.4.0 |

## Citation

- HTML: https://www.freshcrate.ai/projects/go-apispec
- Markdown: https://www.freshcrate.ai/projects/go-apispec.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/go-apispec/deps

_Generated by freshcrate.ai. Indexes github releases for AI-agent ecosystem packages._
