Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure. Learn more →
Top 23 Go Openapi3 Projects
-
Project mention: ⚙️ Go Tools: Code Generation from OpenAPI Specs in Go with oapi-codegen | dev.to | 2025-05-22
🔗 GitHub Repository: oapi-codegen
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
huma
A modern, simple, fast & flexible micro framework for building HTTP REST/RPC APIs in Go backed by OpenAPI 3 and JSON Schema.
Solutions to this problem generate API documentation automatically. Libraries such as drf-spectacular use code structure and semantics in back-end frameworks to infer API contracts. API frameworks such as FastAPI and Huma generate OpenAPI specifications as a built-in feature. Tools like mitmproxy2swagger generate documentation from HAR files. Finally, companies such as Akita Software/Postman use network traffic metadata.
-
kin-openapi
OpenAPI 3.0 (and Swagger v2) implementation for Go (parsing, converting, validation, and more)
-
gnostic
A compiler for APIs described by the OpenAPI Specification with plugins for code generation and other API support tasks.
-
With tools like ogen[1], one can take a single Swagger or OpenAPI doc and generate server code with request/response validation, Prometheus metrics, OpenTelemetry, and more.
It can also generate clients and webhooks. Authentication is just declaring a SecurityScheme in the OpenAPI documentation then implementing a single function. The rest of the backend is just implementing a single interface. Unlike oapi-codegen, there is no need to tinker with middleware for authentication or logging.
Pair this with a tool like sqlc[2] and SQLite's `pragma user_version`, and you get type-safe database code and database migrations for free. I will concede that adding SQLite is a manual process, but its just two imports added to main.go.
Frontend is entirely your choice. Go's standard library provides good enough text templating that I don't miss ERB or Django-style templates. Using embed/fs, one can easily embed a bunch of assets into a single static binary, so deployment can be as simple as `go build` and moving a single binary.
I actually have a hard time using languages besides Go for developing backends, because the code generation tools eliminate the boilerplate I frequently face in other languages while also avoiding the hundreds of dependencies that Spring Boot or Quarkus need.
[1] https://ogen.dev/
-
Climate allows the server to influence the CLI behaviour by using OpenAPI's extensions. This is the secret of Climate's dynamism. Influenced by some of the ideas behind restish it uses the following extensions as of now:
-
In this article, I will show you how to create an automated OpenAPI schema validation to ensure your API stays backwards compatible. We will use NestJS CLI plugin to generate a schema and oasdiff to validate it.
-
Stream
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
-
vacuum
vacuum is the worlds fastest OpenAPI 3, OpenAPI 2 / Swagger linter and quality analysis tool. Built in go, it tears through API specs faster than you can think. vacuum is compatible with Spectral rulesets and generates compatible reports.
We also love open source tools that help achieve the fast feedback loops in API like Vacuum, RateMyOpenAPI or Mockbin to name a few.
-
stackql
Query, provision and operate Cloud and SaaS resources and APIs using an extensible SQL based framework
Project mention: Introducing StackQL - Manage Your Cloud Services & Interact with APIs using SQL 🧑💻🔥 | dev.to | 2025-02-17StackQL has been created to help developers standardize their cloud workflows, introducing a unified environment for cloud resources management.
-
-
libopenapi
libopenapi is a fully featured, high performance OpenAPI 3.1, 3.0 and Swagger parser, library, validator and toolkit for golang applications.
-
-
-
-
-
-
-
-
wiretap
The world's coolest API Validation and compliance tool. Validate APIs against OpenAPI specifications and much more (by pb33f)
During the API development phase, a detailed definition guides developers in implementing endpoints, methods, and data schemas correctly. Various tooling exists to ensure your code conforms to the agreed upon spec - including API frameworks like Huma which allow you to build APIs around a spec, as well as API contract testing tools like Wiretap which look at live traffic to detect violations.
-
openapi-generator-go
An opinionated OpenAPI v3 code generator for Go. Use this to generate API models and router scaffolding.
-
-
gleece
Building, documenting, validating, securing and customizing REST APIs through code-first development
Project mention: Show HN: Gleece – Streamlined API development framework for Go | news.ycombinator.com | 2025-04-07Thus, inspired by the TSOA project and its flexibility, we created Gleece, an open-source Go framework that simplifies the process of building, documenting, and maintaining RESTful APIs.
Features include:
Code-First - Define and document your API endpoints in code, making them easy to maintain and understand.
Self-Documenting - Automatically generate OpenAPI 3.0/3.1 specifications from your code, ensuring your API is always well-documented and up-to-date.
Plug & Play - Easy to get started with and "plays nice" with other frameworks, routers, and tools.
Customizable - A template-centric approach allows for easy yet extensive customization.
Holistic - Built-in support for authentication, authorization, request/response validation, and error handling to help you create robust APIs.
IDE Integration - The project includes an optional Visual Studio Code extension to provide developers with quality-of-life features.
You can check out the project on GitHub: https://github.com/gopher-fleece/gleece
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Go Openapi3 discussion
Go Openapi3 related posts
-
⚙️ 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
-
Show HN: Find your "holy grail piece", as a service
-
Building and Deploying a New API (Part 1)
-
Stripe V2
-
A note from our sponsor - Stream
getstream.io | 11 Jul 2025
Index
What are some of the best open-source Openapi3 projects in Go? This list will help you:
# | Project | Stars |
---|---|---|
1 | oapi-codegen | 7,293 |
2 | huma | 3,210 |
3 | kin-openapi | 2,937 |
4 | gnostic | 2,194 |
5 | ogen | 1,775 |
6 | restish | 1,074 |
7 | oasdiff | 908 |
8 | vacuum | 794 |
9 | stackql | 782 |
10 | apisprout | 709 |
11 | libopenapi | 671 |
12 | openapi-mock | 505 |
13 | rest | 464 |
14 | openapi-go | 310 |
15 | kusk-gateway | 277 |
16 | apibrew | 248 |
17 | thema | 233 |
18 | fizz | 225 |
19 | wiretap | 182 |
20 | openapi-generator-go | 111 |
21 | GoAPI | 85 |
22 | gleece | 75 |
23 | rest | 70 |