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. Learn more →
Top 23 Go OpenAPI Projects
-
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.
-
goa
🌟 Goa: Elevate Go API development! 🚀 Streamlined design, automatic code generation, and seamless HTTP/gRPC support. ✨
-
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.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
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.
-
api-firewall
Fast and light-weight API proxy firewall for request and response validation by OpenAPI specs.
-
apiclarity
An API security tool to capture and analyze API traffic, test API endpoints, reconstruct Open API specification, and identify API security risks.Â
-
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.
-
libopenapi
libopenapi is a fully featured, high performance OpenAPI 3.1, 3.0 and Swagger parser, library, validator and toolkit for golang applications.
-
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
Project mention: I write HTTP services in Go after 13 years (Mat Ryer, 2024) | news.ycombinator.com | 2024-02-09it lacks flexibility but i really enjoy grpc-gateway for 99% of my work
https://github.com/grpc-ecosystem/grpc-gateway
Project mention: Seeking Advice on the Best Swagger Generation Approach for REST API | /r/golang | 2023-12-05Hey 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?
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.
Project mention: TypeSpec: A New Language for API-Centric Development | news.ycombinator.com | 2024-04-29
We'll use the excellent kin-openapi Go library to convert the OpenAPI 2.0 schema to OpenAPI 3.0.
Project mention: I write HTTP services in Go after 13 years (Mat Ryer, 2024) | news.ycombinator.com | 2024-02-09
Project mention: I write HTTP services in Go after 13 years (Mat Ryer, 2024) | news.ycombinator.com | 2024-02-09https://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.
Project mention: Show HN: Fuego, a Go framework generating OpenAPI documentation from code | news.ycombinator.com | 2024-02-19
Project mention: api-firewall VS asteria - a user suggested alternative | libhunt.com/r/api-firewall | 2023-08-27
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.
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.
Project mention: Show HN: Extensible OpenAPI linter written in go | news.ycombinator.com | 2024-04-03
Project mention: A common question about how to find repositories to contribute to | /r/golang | 2023-06-03Want 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
Project mention: I write HTTP services in Go after 13 years (Mat Ryer, 2024) | news.ycombinator.com | 2024-02-09
Go OpenAPI related posts
-
TypeSpec: A New Language for API-Centric Development
-
I write HTTP services in Go after 13 years (Mat Ryer, 2024)
-
Huma: REST API framework for Go with OpenAPI generation
-
Create Production-Ready SDKs With gRPC Gateway
-
Seeking Advice on the Best Swagger Generation Approach for REST API
-
Create Production-Ready SDKs with Goa
-
Manage DEV Articles with Git and GitHub Actions
-
A note from our sponsor - InfluxDB
www.influxdata.com | 23 May 2024
Index
What are some of the best open-source OpenAPI projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | grpc-gateway | 17,486 |
2 | swag | 9,900 |
3 | goa | 5,475 |
4 | oapi-codegen | 5,292 |
5 | go-restful | 4,983 |
6 | kin-openapi | 2,412 |
7 | gnostic | 2,000 |
8 | kpt | 1,648 |
9 | go-doudou | 1,398 |
10 | huma | 1,403 |
11 | ogen | 1,113 |
12 | aliyun-cli | 810 |
13 | apisprout | 669 |
14 | oasdiff | 592 |
15 | fuego | 584 |
16 | api-firewall | 541 |
17 | apiclarity | 477 |
18 | openapi-mock | 473 |
19 | vacuum | 436 |
20 | lark | 388 |
21 | libopenapi | 351 |
22 | rest | 317 |
23 | terraform-provider-openapi | 273 |
Sponsored