Re-exports§
pub use crate::config::Config;
Structs§
- Spec
Info - Metadata about the OpenAPI spec being generated from.
Constants§
- PARAM_
LOCATIONS - The canonical ordering for parameter locations in generated signatures.
- RUST_
KEYWORDS
Functions§
- generate_
doc_ comment - generate_
operations - Generate Rust source code for a list of operations.
- generate_
operations_ tokens - Generate token streams for a list of operations.
- generate_
types - Generate Rust source code for a list of type definitions.
- generate_
types_ tokens - Generate token streams for a list of type definitions.
- generated_
file_ banner - Generate the banner comment prepended to every generated file.
- generated_
file_ preamble - Emit file-level
#![allow(...)]attributes to suppress expected lints in generated code. - group_
by_ tag - location_
arg_ name - location_
suffix - multipart_
body_ struct_ name - Return the body struct name for a multipart operation, if it has fields.
- primitive_
to_ tokens - status_
code_ variant_ name - to_
pascal_ ident - to_
snake_ ident - type_
ref_ to_ tokens