juhaku/utoipa
Simple, Fast, Code first and Compile time generated OpenAPI documentation for Rust observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 99
- Release rhythm 82
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 1798
- days_rel: 121
- days_push: 9
- n_releases_24m: 52
Adoption not part of the score
4054 stars · 443 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Utoipa is a Rust library that auto-generates OpenAPI documentation at compile time using proc macros, treating a code-first approach as a first-class citizen. It is framework-agnostic and also allows writing OpenAPI specs directly with Rust types.
Use cases
- generate OpenAPI docs for a Rust REST API from code annotations
- avoid manually maintaining OpenAPI YAML or JSON files
- serve Swagger UI for a Rust web service
- document actix-web, axum, or rocket endpoints with macros
- build an OpenAPI spec using Rust types without a web framework
When to choose
- you write REST APIs in Rust and want compile-time generated OpenAPI documentation
- you want docs to stay in sync with your code automatically
- you need framework-agnostic OpenAPI generation with integrations for popular Rust web frameworks
When to avoid
- your API is not in Rust
- you prefer spec-first (OpenAPI YAML/JSON) workflows with generated code
- you need runtime-generated documentation rather than compile-time
Facets
library · maturity stable
api-documentation documentation web-development backend apis documentation rust cross-platform openapi swagger rest-api proc-macros compile-time code-first actix-web axum rocket codegen
2 sources
- readme: https://github.com/juhaku/utoipa · fetched 2026-08-28 · 74823b47d3e0
- registry_crates: https://crates.io/api/v1/crates/utoipa · fetched 2026-08-29 · d730b7626966
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| juhaku/utoipa | main | 93 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem