Skip to content
U

Utoipa

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

by juhakuFree

#1234in Developer Tools
0In stores

Description

utoipa generates OpenAPI documentation for Rust REST APIs automatically from your code. It uses simple procedural macros that you put on you…

Highlights

  • OpenAPI 3.1 generated from Rust code
  • Integrations for actix-web, axum and Rocket
  • Code-first macros on handlers and types
  • Automatic schema collection

Ratings & Reviews

No ratings yet

Be the first to rate Utoipa.

People also visit

R

RapiDoc

RapiDoc -WebComponent for OpenAPI Spec

Developer Tools
Launch
D

Docs

Full stack typesafe API-first development with OpenAPI

Developer Tools
Launch
L

Laravel Openapi

Generate OpenAPI specification for Laravel Applications

Developer Tools
Launch
O

Oas Rails

Generate Automatic Interactive Documentation for Your Rails API

Developer Tools
Launch
O

openapi-spec-generation

Generates OpenAPI 3.1 specs from code

AI Skills
Get
A

agent-docs-api-openapi

Agent skill for docs-api-openapi - invoke with $agent-docs-api-openapi

AI Skills
Get

Utoipa FAQ

What is utoipa?

A Rust crate that generates OpenAPI documentation automatically from your code.

Which frameworks does it support?

actix-web, axum and Rocket have specific integrations, and plain utoipa works with others, such as warp.

Does it support OpenAPI 3.1?

Yes. The README lists OpenAPI 3.1.

Can I write the spec in Rust without macros?

Yes. The crate contains Rust types for the OpenAPI spec.

Are there limits on generics?

Yes. The README says tuples, arrays and slices cannot be used as generic arguments on types.

How do I use it?

Add the crate to your Rust project and annotate handlers and types with its macros.

What are the best Utoipa alternatives?

Popular alternatives to Utoipa include RapiDoc, Docs and Laravel Openapi. See all Utoipa alternatives

Developer Stuff

Badges