SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Go Openapi3 Projects
-
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.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
huma
A modern, simple, fast & flexible micro framework for building HTTP REST/RPC APIs in Go backed by OpenAPI 3 and JSON Schema.
Project mention: Goscript: Transpile Go to human-readable TypeScript | news.ycombinator.com | 2026-01-11 -
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
-
gnostic
A compiler for APIs described by the OpenAPI Specification with plugins for code generation and other API support tasks.
Project mention: Custom OpenTelemetry Collectors: Build, Run, and Manage at Scale | dev.to | 2025-09-11 -
-
fuego
Golang Fuego - Web framework generating OpenAPI 3 spec from source code - Pluggable to existing Gin & Echo APIs
-
Project mention: Restish is a CLI for interacting with REST-ish HTTP APIs | news.ycombinator.com | 2026-02-18
-
-
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
-
stackql
Query, provision and operate Cloud and SaaS resources and APIs using an extensible SQL based framework
-
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.
-
-
-
-
-
-
Regarding the growing log in CRDTs, it doesn't have to be that way. Most of these popular CRDT libs use Merkle DAG only to build up the log of the changes. But there is a better way, you can combine a Merkle DAG for ordering + prolly trees for storing the actual state of the data. That gives you total ordering, an easy way to prune old data when you choose to, and an easy way to sync. Look into fireproof for how this is combined.
Regarding distributed schemas, I agree, there's a lot of complexity there but it's worth looking into projects like https://www.inkandswitch.com/cambria/ and https://github.com/grafana/thema, which try to solve the problem. It's a young space though. If anyone else knows about similar projects or efforts, please let me know. Very interested in the space.
-
wiretap
The world's coolest API Validation and compliance tool. Validate APIs against OpenAPI specifications and much more (by pb33f)
-
-
openapi-generator-go
An opinionated OpenAPI v3 code generator for Go. Use this to generate API models and router scaffolding.
-
swagno
Generate Swagger 2.0 or OpenAPI 3.0 documentation for Go with "no" annotations, "no" files, "no" command
-
-
gleece
Building, documenting, validating, securing and customizing REST APIs through code-first development
Go Openapi3 discussion
Go Openapi3 related posts
-
API Versioning Without the Mess
-
Restish is a CLI for interacting with REST-ish HTTP APIs
-
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
-
Backward compatibility in NestJS
-
gRPC vs. REST: Understand gRPC, OpenAPI and REST and When to Use in API Design
-
A note from our sponsor - SaaSHub
www.saashub.com | 12 Jun 2026
Index
What are some of the best open-source Openapi3 projects in Go? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | oapi-codegen | 8,383 |
| 2 | huma | 4,147 |
| 3 | kin-openapi | 3,232 |
| 4 | gnostic | 2,288 |
| 5 | ogen | 2,081 |
| 6 | fuego | 1,732 |
| 7 | restish | 1,311 |
| 8 | oasdiff | 1,225 |
| 9 | vacuum | 1,074 |
| 10 | stackql | 862 |
| 11 | libopenapi | 847 |
| 12 | apisprout | 719 |
| 13 | openapi-mock | 525 |
| 14 | rest | 486 |
| 15 | openapi-go | 350 |
| 16 | kusk-gateway | 282 |
| 17 | thema | 235 |
| 18 | wiretap | 232 |
| 19 | fizz | 230 |
| 20 | openapi-generator-go | 112 |
| 21 | swagno | 111 |
| 22 | GoAPI | 88 |
| 23 | gleece | 82 |