juhaku/utoipa

Simple, Fast, Code first and Compile time generated OpenAPI documentation for Rust

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 27 minutes ago
Added to GitGenius on September 16th, 2026
Created on September 30th, 2021
Open Issues & Pull Requests: 248 (+0)
GitHub issues: Enabled
Number of forks: 435
Total Stargazers: 4,097 (+0)
Total Subscribers: 23 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 23.1 hours
Mean response time: 45.1 days
90th percentile: 151.1 days
Tracked items: 316

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Roughly one issue in two opened in the past year never receives a reply. 99% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 33% of issues opened in the past year have been closed. Three people close 72% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 153
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 542 days
Stale 30+ days: 146
Stale 90+ days: 121

Recent activity

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

Top labels

  • enhancement (51)
  • investigate (25)
  • bug (13)
  • good first issue (9)
  • Discriminator (4)
  • wontfix (3)
  • breaking (2)
  • prio 2 / future investigation (2)

Detailed Description

Utoipa is a code-first OpenAPI documentation generator for Rust that produces specifications at compile time. It automatically generates OpenAPI documentation from Rust code and type definitions, eliminating the need to maintain separate specification files or manually write API documentation.

The tool solves the problem of keeping API documentation synchronized with implementation by generating OpenAPI specs directly from your Rust source code at compile time. This approach ensures documentation always reflects the actual API structure, types, and behavior. Developers annotate their code with attributes that the tool processes during compilation to produce complete OpenAPI specifications without runtime overhead.

Utoipa suits projects where developers want to maintain a single source of truth for their API contract and avoid the friction of keeping documentation in sync with code changes. It works well for teams building REST APIs in Rust who value having generated, verifiable documentation that cannot drift from implementation. The compile-time generation means documentation errors surface during the build process rather than at runtime or in production.

The project shows consistent development activity with regular commits addressing bug fixes and feature additions. Maintenance includes ongoing improvements to OpenAPI specification compliance and support for newer Rust patterns. The codebase receives updates that expand compatibility with different Rust web frameworks and enhance the accuracy of generated documentation. Development demonstrates responsiveness to issues and a commitment to keeping the tool aligned with evolving OpenAPI standards.