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

  2. SaaSHub

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

    SaaSHub 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: Goscript: Transpile Go to human-readable TypeScript | news.ycombinator.com | 2026-01-11
  4. 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

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

    OpenAPI v3 code generator for go

  7. fuego

    Golang Fuego - Web framework generating OpenAPI 3 spec from source code - Pluggable to existing Gin & Echo APIs

    Project mention: Fuego: The framework for busy Go developers | news.ycombinator.com | 2025-07-04
  8. 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
  9. oasdiff

    OpenAPI Diff and Breaking Changes

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

  11. stackql

    Query, provision and operate Cloud and SaaS resources and APIs using an extensible SQL based framework

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

  13. apisprout

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

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

    A CUE-based framework for portable, evolvable schema

    Project mention: An Interactive Intro to CRDTs | news.ycombinator.com | 2026-03-04

    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.

  19. wiretap

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

  20. fizz

    :lemon: Gin wrapper with OpenAPI 3 spec generation

  21. openapi-generator-go

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

  22. swagno

    Generate Swagger 2.0 or OpenAPI 3.0 documentation for Go with "no" annotations, "no" files, "no" command

  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

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

  • API Versioning Without the Mess

    1 project | dev.to | 20 Apr 2026
  • Restish is a CLI for interacting with REST-ish HTTP APIs

    1 project | news.ycombinator.com | 18 Feb 2026
  • 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
  • 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
  • A note from our sponsor - SaaSHub
    www.saashub.com | 12 Jun 2026
    SaaSHub helps you find the best software and product alternatives 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 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

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