I’ve released Huma v2.13.0 https://github.com/danielgtaylor/huma. Huma is a micro-framework for building web APIs that includes a lot of useful features:
- Generates always-up-to-date OpenAPI 3.1/3.0 automatically (easily generate CLI/SDK clients)
- Built-in validation using JSON Schema tags
- Router agnostic (use whatever router you want, including Go 1.22’s
http.ServeMux
) - Type-safe handlers use structs for all inputs/outputs
- Client-driven content negotiation support for various formats (JSON/CBOR/etc)
- Optional CLI/configuration
- Optional automatic PATCH operation generation
- Optional Server Sent Events & streaming support
As of this latest release, Huma has zero hard dependencies outside of the Go standard library. It is small, fast, and efficient.
Check out the beginner-friendly tutorial at https://huma.rocks/tutorial/installation/.