Skip to main content

Module operations

Module operations 

Source

Structs§

BodyInfo
Diagnostics
Collected codegen diagnostics, separated by severity.
OperationInfo
All information about a single API operation needed by later codegen stages.
ParamInfo
QuerySerialization
How a query parameter is serialized on the wire, resolved from its style, explode, and schema shape. Populated with defaults for non-query params.
ResponseInfo

Enums§

QueryStyleKind
How a query parameter’s array (or object) value is delimited on the wire, derived from the OpenAPI style keyword for in: query parameters.
ResponseStatus

Functions§

collect_operations
Collect all operations from the OpenAPI document.
generate_operation_errors
Emit a compile_error! token for each fatal operation diagnostic.
generate_operation_types
Generate query-param enum types + request structs + response enums for all operations.