Go OpenAPI

Open-source Go projects categorized as OpenAPI

Top 23 Go OpenAPI Projects

  • grpc-gateway

    gRPC to JSON proxy generator following the gRPC HTTP spec

  • Project mention: I write HTTP services in Go after 13 years (Mat Ryer, 2024) | news.ycombinator.com | 2024-02-09

    it lacks flexibility but i really enjoy grpc-gateway for 99% of my work

    https://github.com/grpc-ecosystem/grpc-gateway

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • swag

    Automatically generate RESTful API documentation with Swagger 2.0 for Go.

  • Project mention: Seeking Advice on the Best Swagger Generation Approach for REST API | /r/golang | 2023-12-05

    Hey Gophers, I'm exploring Swagger generation for a REST API in Go (using go-chi). Currently, I'm testing https://github.com/swaggo/swag/, but I'm uncertain if it's the optimal solution. What are your thoughts or recommendations?

  • goa

    🌟 Goa: Elevate Go API development! 🚀 Streamlined design, automatic code generation, and seamless HTTP/gRPC support. ✨

  • Project mention: IBM to Acquire HashiCorp, Inc | news.ycombinator.com | 2024-04-24

    My experience of Golang is that dependency injection doesn't really have much benefit. It felt like a square peg in a round hole exercise when my team considered it. The team was almost exclusively Java/Typescript Devs so it was something that we thought we needed but I don't believe we actually missed once we decided to not pursue it.

    If you are looking at OpenAPI in Golang I can recommend having a look at https://goa.design/. It's a DSL that generates OpenAPI specs and provides an implementation of the endpoints described. Can also generate gRPC from the same definitions.

    We found this removed the need to write almost all of the API layer and a lot of the associated validation. We found the generated code including the server element to be production ready from the get go.

  • oapi-codegen

    Generate Go client and server boilerplate from OpenAPI 3 specifications

  • Project mention: TypeSpec: A New Language for API-Centric Development | news.ycombinator.com | 2024-04-29
  • go-restful

    package for building REST-style Web Services using Go

  • kin-openapi

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

  • Project mention: Create Production-Ready SDKs With gRPC Gateway | dev.to | 2023-12-08

    We'll use the excellent kin-openapi Go library to convert the OpenAPI 2.0 schema to OpenAPI 3.0.

  • gnostic

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

  • SaaSHub

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

    SaaSHub logo
  • kpt

    Automate Kubernetes Configuration Editing

  • 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: I write HTTP services in Go after 13 years (Mat Ryer, 2024) | news.ycombinator.com | 2024-02-09
  • go-doudou

    go-doudou(doudou pronounce /dəudəu/)is OpenAPI 3.0 (for REST) spec and Protobuf v3 (for grpc) based lightweight microservice framework. It supports monolith service application as well.

  • ogen

    OpenAPI v3 code generator for go

  • Project mention: I write HTTP services in Go after 13 years (Mat Ryer, 2024) | news.ycombinator.com | 2024-02-09

    https://github.com/ogen-go/ogen

    Write openapi definition, it'll do routing, definition of structs, validation of JSON schemas, etc.

    All I need to do is implement the service.

    Validating an integer range for a querystring parameter is just too boring. And too easy to mistype when writing it manually.

    Anyways, so far only been playing, so haven't found the bad parts yet.

  • aliyun-cli

    Alibaba Cloud CLI

  • apisprout

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

  • fuego

    Golang Fuego - web framework generating OpenAPI 3 spec from source code (by go-fuego)

  • Project mention: Show HN: Fuego, a Go framework generating OpenAPI documentation from code | news.ycombinator.com | 2024-02-19
  • oasdiff

    OpenAPI Diff and Breaking Changes

  • Project mention: FLaNK AI for 11 March 2024 | dev.to | 2024-03-11
  • api-firewall

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

  • Project mention: api-firewall VS asteria - a user suggested alternative | libhunt.com/r/api-firewall | 2023-08-27
  • apiclarity

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

  • Project mention: Two approaches to make your APIs more secure | dev.to | 2023-08-29

    We'll install APIClarity into a Kubernetes cluster to test our API documentation. We're using a Kind cluster for demonstration purposes. Of course, if you have another Kubernetes cluster up and running elsewhere, all steps also work there.

  • 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: Kong Gateway - Validando configurações específicas para exposição de serviços | dev.to | 2024-05-31
  • openapi-mock

    OpenAPI mock server with random data generation

  • Project mention: How to Automatically Consume RESTful APIs in Your Frontend | dev.to | 2024-01-25

    Since the OpenAPI can effectively describe our resources, we can reuse it to generate a dummy server that can be later used for development and testing purposes without bootstrapping any actual services. There some tools available that can help us with this task, such as Prism, OpenAPI Mock, OpenAPI Backend and the MSW library we have already seen.

  • lark

    Feishu(飞书)/Lark Open API Go SDK, Support ALL Open API and Event Callback. (by chyroc)

  • libopenapi

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

  • rest

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

  • Project mention: I write HTTP services in Go after 13 years (Mat Ryer, 2024) | news.ycombinator.com | 2024-02-09
  • terraform-provider-openapi

    OpenAPI Terraform Provider that configures itself at runtime with the resources exposed by the service provider (defined in a swagger file)

  • 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 OpenAPI discussion

Log in or Post with

Go OpenAPI related posts

  • TypeSpec: A New Language for API-Centric Development

    11 projects | news.ycombinator.com | 29 Apr 2024
  • I write HTTP services in Go after 13 years (Mat Ryer, 2024)

    12 projects | news.ycombinator.com | 9 Feb 2024
  • Huma: REST API framework for Go with OpenAPI generation

    1 project | news.ycombinator.com | 29 Jan 2024
  • Create Production-Ready SDKs With gRPC Gateway

    5 projects | dev.to | 8 Dec 2023
  • Seeking Advice on the Best Swagger Generation Approach for REST API

    2 projects | /r/golang | 5 Dec 2023
  • Create Production-Ready SDKs with Goa

    9 projects | dev.to | 22 Nov 2023
  • Manage DEV Articles with Git and GitHub Actions

    3 projects | dev.to | 31 Oct 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 20 Jun 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source OpenAPI projects in Go? This list will help you:

Project Stars
1 grpc-gateway 17,593
2 swag 10,009
3 goa 5,507
4 oapi-codegen 5,494
5 go-restful 4,992
6 kin-openapi 2,446
7 gnostic 2,023
8 kpt 1,655
9 huma 1,531
10 go-doudou 1,398
11 ogen 1,166
12 aliyun-cli 815
13 apisprout 682
14 fuego 613
15 oasdiff 606
16 api-firewall 550
17 apiclarity 484
18 vacuum 479
19 openapi-mock 475
20 lark 392
21 libopenapi 372
22 rest 332
23 terraform-provider-openapi 273

Sponsored
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com