#3636th of 55 in Backend and cloud templates
huma
Go framework for REST/RPC APIs built from typed handlers and OpenAPI 3.1
Documentation ↗
(opens in a new tab)Website ↗
(opens in a new tab)Repository on GitHub ↗
(opens in a new tab)
- Stars
- 4.5k
- License
- MIT
- Last commit
- Oct 2026
- Last release
- Oct 2026
- Language
- Go
Missed the latest GitHub check; these facts may be older.
Overview
Huma is a Go micro framework that runs on a router you choose (chi, the Go 1.22+ standard mux, and others) and generates OpenAPI 3.1 and JSON Schema from annotated Go input and output types. It validates requests, returns RFC 9457 errors, negotiates JSON or CBOR, and serves docs through Stoplight Elements. It has no AI features, so it fits this list only as a backend service template.
Who it is for: Go developers building documented REST or RPC APIs
Strengths
- Works with existing routers and middleware, so services can adopt it one route at a time
- Generates OpenAPI 3.1 and JSON Schema from Go types, so docs track the code
- Built-in request validation, RFC 9457 problem+json errors, and per-operation body size limits
- Optional CLI with port flag or env var, plus graceful shutdown
Weaknesses
- No AI, model or agent functionality; it is a general-purpose HTTP API framework
- Requires Go 1.26 or newer
- A library to import, not a starter app with auth, database or deployment files
- Generated docs UI depends on Stoplight Elements
What it needs
- Go
- Needs Go 1.26+, Go HTTP router such as chi (optional)
Also in Backend and cloud templates
See all 55| Rank | Project | Score |
|---|---|---|
| 1 | fastapiPython web framework for typed REST APIs with automatic OpenAPI docs | 90 out of 100 |
| 2 | fiberExpress-style HTTP web framework for Go, built on fasthttp | 90 out of 100 |
| 3 | generator-jhipsterCode generator for Java apps with Angular, React or Vue frontends | 90 out of 100 |
| #4 | serverlessCLI that deploys AWS Lambda code and infrastructure from serverless.yml | 89 out of 100 |
| #5 | echoMinimalist Go web framework with a radix-tree router and middleware | 88 out of 100 |