github.com/danielgtaylor/huma

Huma

Huma REST/HTTP API Framework for Golang with OpenAPI 3.1

56

Decision Signals

Health score 56/100, confidence 80/100.

Caution
Maintenance 45
Adoption 25
Security 92
Maturity 62
Developer DX 83
Confidence 80

Install

go get github.com/danielgtaylor/huma

Package Data

updated May 31, 2026
Latest versionv1.14.3
Imported by10 packages
Stars0
Forks0
Last activity1 years ago
Latest releaseUnknown
LicenseUnknown
Known vuln records0

API Surface

145 symbols
SymbolKindSynopsis
APIKeyLocation Type type APIKeyLocation string
AutoConfig Type type AutoConfig struct{ ... }
AutoConfig.Headers Field Headers map[string]string
AutoConfig.Params Field Params map[string]string
AutoConfig.Prompt Field Prompt map[string]AutoConfigVar
AutoConfig.Security Field Security string
AutoConfigVar Type type AutoConfigVar struct{ ... }
AutoConfigVar.Default Field Default interface{}
AutoConfigVar.Description Field Description string
AutoConfigVar.Enum Field Enum []interface{}
AutoConfigVar.Example Field Example string
AutoConfigVar.Exclude Field Exclude bool

Maintained Alternatives

limited recent repository activity

#1 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 40% confidence
66

#2 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 0 imported-by 55% confidence
55

#3 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 0 imported-by 60% confidence
53

Similar Packages

Go OpenAPI Libraries

#1 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 40% confidence
66

#2 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 0 stars 2.0K imported-by 80% confidence
55

#3 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 0 imported-by 55% confidence
55

#4 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 0 imported-by 60% confidence
53

#5 go-redoc

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

Go OpenAPI Libraries 0 stars 39 imported-by 80% confidence
52