Go Openapi3

Open-source Go projects categorized as Openapi3

Top 23 Go Openapi3 Projects

  1. oapi-codegen

    Generate Go client and server boilerplate from OpenAPI 3 specifications

    Project mention: ⚙️ Go Tools: Code Generation from OpenAPI Specs in Go with oapi-codegen | dev.to | 2025-05-22

    🔗 GitHub Repository: oapi-codegen

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

    InfluxDB logo
  3. 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: Automated Documentation for APIs | dev.to | 2025-04-07

    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.

  4. kin-openapi

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

  5. gnostic

    A compiler for APIs described by the OpenAPI Specification with plugins for code generation and other API support tasks.

  6. ogen

    OpenAPI v3 code generator for go

    Project mention: Rails for Everything | news.ycombinator.com | 2025-01-01

    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/

  7. restish

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

    Project mention: Create a Server Driven CLI from your REST API | dev.to | 2025-02-18

    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:

  8. oasdiff

    OpenAPI Diff and Breaking Changes

    Project mention: Backward compatibility in NestJS | dev.to | 2025-02-11

    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.

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

    Stream logo
  10. 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.

    Project mention: Bringing Feedback Loops to API Development | dev.to | 2024-12-19

    We also love open source tools that help achieve the fast feedback loops in API like Vacuum, RateMyOpenAPI or Mockbin to name a few.

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

    StackQL has been created to help developers standardize their cloud workflows, introducing a unified environment for cloud resources management.

  12. apisprout

    Lightweight, blazing fast, cross-platform OpenAPI 3 mock server with validation

  13. libopenapi

    libopenapi is a fully featured, high performance OpenAPI 3.1, 3.0 and Swagger parser, library, validator and toolkit for golang applications.

  14. openapi-mock

    OpenAPI mock server with random data generation

  15. rest

    Web services with OpenAPI and JSON Schema done quick in Go (by swaggest)

  16. openapi-go

    OpenAPI structures for Go

  17. kusk-gateway

    Kusk-gateway is an OpenAPI-driven API Gateway for Kubernetes

  18. apibrew

    APIBrew is Low code software to automate building CRUDs from yaml files

  19. thema

    A CUE-based framework for portable, evolvable schema

  20. fizz

    :lemon: Gin wrapper with OpenAPI 3 spec generation

  21. wiretap

    The world's coolest API Validation and compliance tool. Validate APIs against OpenAPI specifications and much more (by pb33f)

    Project mention: Mastering API Definitions: A Comprehensive Guide | dev.to | 2024-12-19

    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.

  22. openapi-generator-go

    An opinionated OpenAPI v3 code generator for Go. Use this to generate API models and router scaffolding.

  23. GoAPI

    GoAPI - A Fast and Easy-to-use Web Framework for Building APIs in Go

  24. 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-07

    Thus, 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

  25. rest

    Generate OpenAPI 3.0 specifications from Go code. (by a-h)

  26. SaaSHub

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

    SaaSHub logo
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 Openapi3 discussion

Log in or Post with

Go Openapi3 related posts

  • ⚙️ 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
  • Backward compatibility in NestJS

    2 projects | dev.to | 11 Feb 2025
  • gRPC vs. REST: Understand gRPC, OpenAPI and REST and When to Use in API Design

    12 projects | news.ycombinator.com | 22 Jan 2025
  • Show HN: Find your "holy grail piece", as a service

    2 projects | news.ycombinator.com | 17 Jan 2025
  • Building and Deploying a New API (Part 1)

    3 projects | dev.to | 7 Jan 2025
  • Stripe V2

    1 project | news.ycombinator.com | 6 Jan 2025
  • A note from our sponsor - Stream
    getstream.io | 11 Jul 2025
    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 →

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

Sponsored
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.
www.influxdata.com

Did you know that Go is
the 4th most popular programming language
based on number of references?