Automated ranking

Best Go OpenAPI Libraries

Compare go openapi libraries by maintenance, adoption, security, release activity, and Go ecosystem usage. Top packages in this group include Goa, Huma, swag.

Best overall

Goa

Highest combined package health score.

95
Best maintained

Goa

Strongest maintenance signal in this category.

95
Most adopted

Goa

Highest adoption signal from stars, forks, and imported-by data.

100

Ranked Packages

9 packages

#1 Goa

Package goa implements a Go framework for writing microservices that promotes best practice by providing a single source of truth from which server code, client code, and documentation is derived.

Go OpenAPI Libraries 6.1K stars 2.0K imported-by 100% confidence
95

#2 Huma

Huma REST/HTTP API Framework for Golang with OpenAPI 3.1

Go OpenAPI Libraries 4.1K stars 0 imported-by 65% confidence
85

#3 swag

Package swag contains a bunch of helper functions for go-openapi and go-swagger projects.

Go OpenAPI Libraries 0 stars 16.2K imported-by 75% confidence
78

#4 validate

Package validate provides methods to validate a swagger specification, as well as tools to validate data against their schema.

Go OpenAPI Libraries 0 stars 5.9K imported-by 75% confidence
76

#5 go-redoc

Embedded OpenAPI/Swagger documentation ui for Go using [ReDoc](https://redocly.com/).

Go OpenAPI Libraries 94 stars 39 imported-by 65% confidence
71

#6 Fuego

Package fuego provides a set of tools to build HTTP servers in Go, that automatically generate OpenAPI 3.0 documentation and support for multiple web frameworks.

Go OpenAPI Libraries 0 stars 73 imported-by 80% confidence
67

#7 go-redoc

Go OpenAPI Libraries 0 stars 1 imported-by 75% confidence
48

#8 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.

Go OpenAPI Libraries 0 stars 0 imported-by 80% confidence
41

#9 grpc-gateway

gRPC to JSON proxy generator following the gRPC HTTP spec

Go OpenAPI Libraries 0 stars 0 imported-by 75% confidence
40

Comparison Matrix

score dimensions
Package Health Maintenance Adoption Security Imported by
Goa 95 95 100 92 2.0K
Huma 85 95 88 70 0
swag 78 83 72 92 16.2K
validate 76 83 64 92 5.9K
go-redoc 71 45 80 92 39
Fuego 67 75 39 92 73
go-redoc 48 45 5 92 1
go-doudou 41 15 7 92 0
grpc-gateway 40 15 5 92 0