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

  • 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?

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

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

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

  • oasdiff

    OpenAPI Diff and Breaking Changes

  • Project mention: FLaNK AI for 11 March 2024 | dev.to | 2024-03-11
  • 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
  • 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.

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

  • 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: Show HN: Extensible OpenAPI linter written in go | news.ycombinator.com | 2024-04-03
  • 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.

  • Project mention: A common question about how to find repositories to contribute to | /r/golang | 2023-06-03

    Want to get involved in the OpenAPI community? This is an up and coming library for working with OpenAPI docs lots of potential for improvement https://github.com/pb33f/libopenapi

  • 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 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 | 10 May 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,417
2 swag 9,839
3 goa 5,469
4 oapi-codegen 5,237
5 go-restful 4,978
6 kin-openapi 2,397
7 gnostic 1,994
8 kpt 1,638
9 go-doudou 1,399
10 huma 1,366
11 ogen 1,095
12 aliyun-cli 808
13 apisprout 669
14 oasdiff 587
15 fuego 564
16 api-firewall 536
17 apiclarity 476
18 openapi-mock 471
19 vacuum 432
20 lark 385
21 libopenapi 334
22 rest 314
23 terraform-provider-openapi 271

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