danielgtaylor/huma

Huma REST/HTTP API Framework for Golang with OpenAPI 3.1

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 14 minutes ago
Added to GitGenius on September 15th, 2026
Created on March 8th, 2020
Open Issues & Pull Requests: 130 (+0)
GitHub issues: Enabled
Number of forks: 284
Total Stargazers: 4,415 (+0)
Total Subscribers: 27 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.2 days
Mean response time: 46.3 days
90th percentile: 146.4 days
Tracked items: 256

Most active contributors

Sign in to see contributor activity.

How this project is maintained

About 16% of issues opened in the past year have never received a reply. 99% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 63% of issues opened in the past year have been closed, leaving a working backlog. Three people close 75% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 85
New in 7 days: 0
Closed in 7 days: 1
Avg open age: 442 days
Stale 30+ days: 79
Stale 90+ days: 61

Recent activity

Opened in 7 days: 0
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 1

Top labels

  • question (87)
  • bug (48)
  • enhancement (30)
  • help wanted (4)
  • documentation (3)
  • v3-ideas (2)
  • adapter (1)
  • dependencies (1)

Most active issues this week

Detailed Description

Huma is a REST API framework for Go that generates OpenAPI 3.1 documentation and JSON Schema automatically from your code.

The framework solves the problem of keeping API documentation in sync with implementation and provides guardrails against common mistakes in HTTP API design. It works by letting you define request and response types as Go structs, then automatically generates complete OpenAPI 3.1 specifications and JSON Schema from those definitions. The tool supports incremental adoption into existing services by allowing you to bring your own router, middleware, and logging or metrics systems rather than forcing a complete rewrite.

Teams should choose Huma if they value automatically generated, always-accurate API documentation and want to avoid the maintenance burden of keeping OpenAPI specs synchronized with code changes. It suits projects where developers need high-quality generated tooling for API consumers and where preventing common HTTP API mistakes matters. The framework is designed for both greenfield REST APIs and HTTP RPC services in Go, and works well for teams that already have existing services and want to adopt it incrementally rather than all at once.

The project shows consistent development activity with regular updates to the codebase. Maintenance is responsive to issues and pull requests. The documentation is comprehensive and actively maintained across multiple languages. The project maintains a stable API surface while continuing to add refinements and improvements to the OpenAPI and JSON Schema generation layer.