Go Swagger

Open-source Go projects categorized as Swagger

Top 23 Go Swagger Projects

  1. grpc-gateway

    gRPC to JSON proxy generator following the gRPC HTTP spec

    Project mention: Why gRPC Is Ideal for High-Performance APIs | dev.to | 2026-01-20

    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)

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. swag

    Automatically generate RESTful API documentation with Swagger 2.0 for Go.

    Project mention: Experiencia profesional de testing en Golang | dev.to | 2025-12-19
  4. oapi-codegen

    Generate Go client and server boilerplate from OpenAPI 3 specifications

    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.

  5. go-gin-example

    An example of gin

  6. 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.

  7. gin-swagger

    gin middleware to automatically generate RESTful API documentation with Swagger 2.0.

  8. kin-openapi

    OpenAPI 3.0 and 3.1 (and Swagger v2) implementation for Go (parsing, converting, validation, and more)

    Project mention: Professional Testing Experience in Golang | dev.to | 2025-12-19

    kin-openapi: Library to manipulate OpenAPI 3.1 specs

  9. Flagr

    Flagr is a feature flagging, A/B testing and dynamic configuration microservice

  10. ogen

    OpenAPI v3 code generator for go

  11. 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.

  12. restish

    Restish is a CLI for interacting with REST-ish HTTP APIs with some nice features built-in

    Project mention: Restish is a CLI for interacting with REST-ish HTTP APIs | news.ycombinator.com | 2026-02-18
  13. oasdiff

    OpenAPI Diff and Breaking Changes

  14. 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.

  15. fiber-go-template

    πŸ“ Production-ready backend template with Fiber Go Web Framework for Create Go App CLI.

  16. 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

  17. eliasdb

    EliasDB a graph-based database.

  18. Go-Clean-Architecture-REST-API

    Golang Clean Architecture REST API example

  19. 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-16

    OpenAPI-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.

  20. 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)

    Project mention: My AI Agent Keeps Forgetting Everything | dev.to | 2026-04-07

    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.

  21. api-firewall

    Fast and light-weight API proxy firewall for request and response validation by OpenAPI specs.

  22. go-starter

    An opinionated production-ready SQL-/Swagger-first RESTful JSON API written in Go, highly integrated with VSCode DevContainers by allaboutapps.

  23. apiclarity

    An API security tool to capture and analyze API traffic, test API endpoints, reconstruct Open API specification, and identify API security risks.Β 

  24. openapi-mock

    OpenAPI mock server with random data generation

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go Swagger discussion

Log in or Post with

Go Swagger related posts

  • API Versioning Without the Mess

    1 project | dev.to | 20 Apr 2026
  • Adding Swagger to Your Go API

    1 project | dev.to | 29 Nov 2025
  • Show HN: OpenAPI-TypeScript-server – Codegen TypeScript servers from OpenAPI

    2 projects | news.ycombinator.com | 4 Aug 2025
  • βš™οΈ Go Tools: Code Generation from OpenAPI Specs in Go with oapi-codegen

    1 project | dev.to | 22 May 2025
  • Looking back at `oapi-codegen`'s last year

    1 project | news.ycombinator.com | 19 May 2025
  • How to Implement Mock APIs for API Testing

    2 projects | dev.to | 7 Apr 2025
  • Backward compatibility in NestJS

    2 projects | dev.to | 11 Feb 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 6 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more β†’

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

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com