CLI reference
orator
Section titled “orator”Reads an OpenAPI 3.1 spec and writes generated Rust code (axum) into an output directory.
orator <SPEC> --output <DIR>Arguments & options
Section titled “Arguments & options”| Argument / Flag | Description |
|---|---|
<SPEC> | Path to the OpenAPI spec file (YAML or JSON). Positional. |
--output, -o | Directory to write generated code into. Required. |
--no-header-params | Disable header parameter extraction. |
--no-cookie-params | Disable cookie parameter extraction. |
Example
Section titled “Example”orator openapi.yaml --output src/api/generated