InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards. Learn more →
Top 23 Go Swagger Projects
-
gin-vue-admin
🚀Vite+Vue3+Gin的开发基础平台,支持TS和JS混用。它集成了JWT鉴权、权限管理、动态路由、显隐可控组件、分页封装、多点登录拦截、资源权限、上传下载、代码生成器【可AI辅助】、表单生成器和可配置的导入导出等开发必备功能。
-
InfluxDB
Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
-
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
-
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?
-
-
To generate the server-side code, we need some library. I found oapi-codegen for that. It supports many popular HTTP libraries (echo, gin, etc.) At the time of writing, I used [email protected]
-
goa
🌟 Goa: Elevate Go API development! 🚀 Streamlined design, automatic code generation, and seamless HTTP/gRPC support. ✨
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.
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
kin-openapi
OpenAPI 3.0 (and Swagger v2) implementation for Go (parsing, converting, validation, and more)
We'll use the excellent kin-openapi Go library to convert the OpenAPI 2.0 schema to OpenAPI 3.0.
-
-
Faygo
Faygo is a fast and concise Go Web framework that can be used to develop high-performance web app(especially API) with fewer codes. Just define a struct handler, faygo will automatically bind/verify the request parameters and generate the online API doc.
-
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.
-
-
fiber-go-template
📝 Production-ready backend template with Fiber Go Web Framework for Create Go App CLI.
-
-
Project mention: Looking for Open-source web app back-end repository written in Golang | /r/golang | 2023-12-08
Project using APIBin for examples https://rest.sh
-
-
api-firewall
Fast and light-weight API proxy firewall for request and response validation by OpenAPI specs.
-
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 -
apiclarity
An API security tool to capture and analyze API traffic, test API endpoints, reconstruct Open API specification, and identify API security risks.
-
go-starter
An opinionated production-ready SQL-/Swagger-first RESTful JSON API written in Go, highly integrated with VSCode DevContainers by allaboutapps.
-
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.
-
microservices-go
Golang Microservice Boilerplate using MySQL, Docker and Swagger, API REST. Gin Go and GORM with pagination and implementation of a Clean Architecture.
-
libopenapi
libopenapi is a fully featured, high performance OpenAPI 3.1, 3.0 and Swagger parser, library, validator and toolkit for golang applications.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Go Swagger discussion
Go Swagger related posts
-
The value of API-First design on side-projects
-
TypeSpec: A New Language for API-Centric Development
-
Serverless APIs: Auto-Generate OpenAPI Docs & CI/CD Protections
-
How Can You Achieve Continuous Deployment for *APIs*?
-
Created an API using Gin, want to create sdk for him
-
Seeking Advice on the Best Swagger Generation Approach for REST API
-
Create Production-Ready SDKs with Goa
-
A note from our sponsor - InfluxDB
www.influxdata.com | 16 Sep 2024
Index
What are some of the best open-source Swagger projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | gin-vue-admin | 21,156 |
2 | grpc-gateway | 17,973 |
3 | swag | 10,463 |
4 | go-gin-example | 6,769 |
5 | oapi-codegen | 6,001 |
6 | goa | 5,631 |
7 | gin-swagger | 3,732 |
8 | kin-openapi | 2,557 |
9 | Flagr | 2,412 |
10 | Faygo | 1,604 |
11 | ogen | 1,300 |
12 | eliasdb | 994 |
13 | fiber-go-template | 917 |
14 | Go-Clean-Architecture-REST-API | 773 |
15 | restish | 754 |
16 | oasdiff | 689 |
17 | api-firewall | 580 |
18 | vacuum | 560 |
19 | apiclarity | 507 |
20 | go-starter | 489 |
21 | openapi-mock | 487 |
22 | microservices-go | 482 |
23 | libopenapi | 434 |