SaaSHub helps you find the best software and product alternatives Learn more β
Top 23 Go Swagger Projects
-
gRPC-Gateway reads protobuf service definitions and generates a reverse proxy that translates RESTful JSON HTTP calls into gRPC, based on annotations like google.api.http. (GitHub)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
Project mention: Show HN: BoGO β Generate Go back end services directly from SQL files | news.ycombinator.com | 2025-10-17
Very cool, reminds me of both [sqlc](https://sqlc.dev) and [oapi-codegen](https://github.com/oapi-codegen/oapi-codegen)
I'm not a fan of the enterprisey hexagonal-style code this generates, but I can understand where this might be useful for someone who does follow that.
A question regarding evolution: it's rare that schemas stay constant. I'm not sure if this tool will lend itself well when the time comes to, say, add another table, though I might be misunderstanding here.
-
-
goa
Design-first Go framework that generates API code, documentation, and clients. Define once in an elegant DSL, deploy as HTTP and gRPC services with zero drift between code and docs.
-
-
kin-openapi
OpenAPI 3.0 and 3.1 (and Swagger v2) implementation for Go (parsing, converting, validation, and more)
kin-openapi: Library to manipulate OpenAPI 3.1 specs
-
-
-
Faygo
Faygo is a fast and concise Go Web framework that can be used to develop high-performance web app(especially API) with fewer codes. Just define a struct handler, faygo will automatically bind/verify the request parameters and generate the online API doc.
-
Project mention: Restish is a CLI for interacting with REST-ish HTTP APIs | news.ycombinator.com | 2026-02-18
-
-
gin-boilerplate
The fastest way to deploy a RESTful API with Gin Framework β PostgreSQL, JWT auth, Redis, PDF generation, and Swagger docs out of the box.
-
fiber-go-template
π Production-ready backend template with Fiber Go Web Framework for Create Go App CLI.
-
vacuum
vacuum is the worlds fastest and most versatile OpenAPI, AsyncAPI & JSON Schema linter, docs generator and toolkit. It tears through API specs at light speed. 100% compatible with Spectral rulesets, and OpenAPI 3.0, 3.1 and 3.2
-
-
-
libopenapi
libopenapi is a fully featured, high performance OpenAPI 3.2, 3.1, 3.0, Overlays and Arazzo parser, library, validator and toolkit for go applications.
Project mention: Your MCP Server Is Eating Your Context Window. There's a Simpler Way | dev.to | 2026-03-16OpenAPI-native, no code generation. The binary embeds the latest Apideck Unified API spec. On startup, it parses the spec with libopenapi and builds commands for every API group, resource, and operation. When the API adds new endpoints, apideck sync pulls the latest spec. No SDK regeneration, no version bumps.
-
helix
βΎοΈ Private Agent Fleet with Spec Coding. Each agent gets their own GPU-accelerated desktop. Run Claude, Codex, Gemini and open models on a full private AI Stack βΎοΈ (by helixml)
Diet-Coder planted the seed with those three files. Matt Pocock's skills repo helped shape how I organised the commands. Helix.ml informed the gate classification system. Full provenance is in the repo.
-
api-firewall
Fast and light-weight API proxy firewall for request and response validation by OpenAPI specs.
-
go-starter
An opinionated production-ready SQL-/Swagger-first RESTful JSON API written in Go, highly integrated with VSCode DevContainers by allaboutapps.
-
apiclarity
An API security tool to capture and analyze API traffic, test API endpoints, reconstruct Open API specification, and identify API security risks.Β
-
Go Swagger discussion
Go Swagger related posts
-
API Versioning Without the Mess
-
Adding Swagger to Your Go API
-
Show HN: OpenAPI-TypeScript-server β Codegen TypeScript servers from OpenAPI
-
βοΈ Go Tools: Code Generation from OpenAPI Specs in Go with oapi-codegen
-
Looking back at `oapi-codegen`'s last year
-
How to Implement Mock APIs for API Testing
-
Backward compatibility in NestJS
-
A note from our sponsor - SaaSHub
www.saashub.com | 6 Jun 2026
Index
What are some of the best open-source Swagger projects in Go? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | grpc-gateway | 19,910 |
| 2 | swag | 12,832 |
| 3 | oapi-codegen | 8,370 |
| 4 | go-gin-example | 7,188 |
| 5 | goa | 6,083 |
| 6 | gin-swagger | 4,231 |
| 7 | kin-openapi | 3,233 |
| 8 | Flagr | 2,596 |
| 9 | ogen | 2,081 |
| 10 | Faygo | 1,594 |
| 11 | restish | 1,304 |
| 12 | oasdiff | 1,225 |
| 13 | gin-boilerplate | 1,204 |
| 14 | fiber-go-template | 1,110 |
| 15 | vacuum | 1,074 |
| 16 | eliasdb | 1,032 |
| 17 | Go-Clean-Architecture-REST-API | 955 |
| 18 | libopenapi | 849 |
| 19 | helix | 780 |
| 20 | api-firewall | 650 |
| 21 | go-starter | 611 |
| 22 | apiclarity | 566 |
| 23 | openapi-mock | 525 |