Go Swagger

Open-source Go projects categorized as Swagger

Top 23 Go Swagger Projects

  • gin-vue-admin

    基于vite+vue3+gin搭建的开发基础平台(支持TS,JS混用),集成jwt鉴权,权限管理,动态路由,显隐可控组件,分页封装,多点登录拦截,资源权限,上传下载,代码生成器,表单生成器,chatGPT自动查表等开发必备功能。

  • grpc-gateway

    gRPC to JSON proxy generator following the gRPC HTTP spec

    Project mention: Ask HN: Rapid Development API-Only One Person Stack – Seeking Performant Tech | news.ycombinator.com | 2023-08-02

    I don't have any example that's public atm, but the guide in grpc-gateway is pretty clear/can be followed step by step.

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

    To integrate with Fiber, I used the Fiber Adaptor (also pretty straightforward): https://docs.gofiber.io/api/middleware/adaptor

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • swag

    Automatically generate RESTful API documentation with Swagger 2.0 for Go.

    Project mention: go-ecommerce-microservices: A practical e-commerce microservices, built with cqrs, event sourcing, vertical slice architecture, event-driven architecture. | /r/golang | 2023-08-26

    Some of the features: - ✅ Using Vertical Slice Architecture as a high level architecture - ✅ Using Event Driven Architecture on top of RabbitMQ Message Broker with a custom [Event Bus](pkg/messaging/bus/) - ✅ Using Event Sourcing in Audit Based services like [Orders Service](services/orders/) - ✅ Using CQRS Pattern and Mediator Patternon top of Go-MediatR library - ✅ Using Dependency Injection and Inversion of Controlon top of uber-go/fx library - ✅ Using RESTFul api with Echo framework and using swagger with swaggo/swag library - ✅ Using Postgres and EventStoreDB to write databases with fully supports transactions(ACID) - ✅ Using MongoDB and Elastic Search for read databases (NOSQL) - ✅ Using OpenTelemetry for collection Distributed Tracing with using Jaeger and Zipkin - ✅ Using OpenTelemetry for collection Metrics with using Prometheus and Grafana - ✅ Using Unit Test for testing small units with mocking dependent classes and using Mockery for mocking dependencies - ✅ Using End2End Test and Integration Test for testing features with all of their real dependeinces using docker containers (cleanup tests) and testcontainers-go library

  • go-gin-example

    An example of gin

    Project mention: Web application project structure | /r/golang | 2023-05-21

    you can have a look at https://github.com/eddycjy/go-gin-example you don't have to use gin as the framework rather than looking at how he structure the folders.

  • goa

    Design-based APIs and microservices in Go

    Project mention: Which is the best framework to create web apps with go? | /r/golang | 2023-06-29

    If you really need a framework, you can take a look at Echo or, for a contract-first approach, https://goa.design/

  • oapi-codegen

    Generate Go client and server boilerplate from OpenAPI 3 specifications

    Project mention: OpenAPI Client and Server Code Generator for Golang | news.ycombinator.com | 2023-08-30
  • gin-swagger

    gin middleware to automatically generate RESTful API documentation with Swagger 2.0.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • Flagr

    Flagr is a feature flagging, A/B testing and dynamic configuration microservice

  • kin-openapi

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

    Project mention: OpenAPI Generator allows generation of API client libraries from OpenAPI Specs | news.ycombinator.com | 2022-10-15

    What is your language?

    I've found kin-openapi to be good for Go:

    https://github.com/getkin/kin-openapi

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

  • eliasdb

    EliasDB a graph-based database.

  • ogen

    OpenAPI v3 code generator for go

    Project mention: How to OpenAPI? | /r/golang | 2023-02-08

    But also this project https://github.com/ogen-go/ogen It worth keeping an eye on.

  • fiber-go-template

    📝 Production-ready backend template with Fiber Go Web Framework for Create Go App CLI.

    Project mention: Back end architecture for controllers in fiber | /r/golang | 2023-01-23
  • Go-Clean-Architecture-REST-API

    Golang Clean Architecture REST API example

  • restish

    Restish is a CLI for interacting with REST-ish HTTP APIs with some nice features built-in

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

    OpenAPI mock server with random data generation

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

  • go-starter

    An opinionated production-ready SQL-/Swagger-first RESTful JSON API written in Go, highly integrated with VSCode DevContainers by allaboutapps.

  • microservices-go

    Golang Microservice Boilerplate using MySQL, Docker and Swagger, API REST. Gin Go and GORM with pagination and implementation of a Clean Architecture.

    Project mention: [code review request] Coming from Java world, want to make sure I'm not getting lost doing Golang | /r/golang | 2022-12-07
  • oasdiff

    OpenAPI Diff and Breaking Changes

    Project mention: Would you like to be notified when your API provider makes a breaking change? | news.ycombinator.com | 2023-06-11
  • tutorial-go-fiber-rest-api

    📖 Build a RESTful API on Go: Fiber, PostgreSQL, JWT and Swagger docs in isolated Docker containers.

  • Ginrpc

    gin auto binding,grpc, and annotated route,gin 注解路由, grpc,自动参数绑定工具

  • Mergify

    Tired of breaking your main and manually rebasing outdated pull requests?. Managing outdated pull requests is time-consuming. Mergify's Merge Queue automates your pull request management & merging. It's fully integrated to GitHub & coordinated with any CI. Start focusing on code. Try Mergify for free.

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). The latest post mention was on 2023-08-30.

Go Swagger related posts

Index

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

Project Stars
1 gin-vue-admin 18,287
2 grpc-gateway 16,046
3 swag 8,817
4 go-gin-example 6,421
5 goa 5,282
6 oapi-codegen 4,091
7 gin-swagger 3,232
8 Flagr 2,229
9 kin-openapi 2,094
10 Faygo 1,592
11 eliasdb 972
12 ogen 739
13 fiber-go-template 700
14 Go-Clean-Architecture-REST-API 533
15 restish 529
16 api-firewall 494
17 openapi-mock 420
18 apiclarity 417
19 go-starter 384
20 microservices-go 326
21 oasdiff 311
22 tutorial-go-fiber-rest-api 293
23 Ginrpc 282
Tired of breaking your main and manually rebasing outdated pull requests?
Managing outdated pull requests is time-consuming. Mergify's Merge Queue automates your pull request management & merging. It's fully integrated to GitHub & coordinated with any CI. Start focusing on code. Try Mergify for free.
blog.mergify.com