Documentation

openapi-to-rust documentation

Start with one command, then shape generated clients and servers around the API surface your Rust project actually uses.

01

Start generating

Install the Cargo CLI, load a local or remote OpenAPI document, and compile the resulting Rust modules.

02

Understand support

See how OpenAPI schema shapes map to Rust and where experimental or intentionally unsupported behavior begins.

Install

One crate. No Java runtime.

cargo install --locked openapi-to-rust