Expand description
Server codegen — opt-in Axum scaffolding for user-selected operations.
Phase 1 (this file): read-only operation index for the
openapi-to-rust server list command. Later phases build on
OperationIndex for selector resolution, codegen, and TOML edits.
See docs/planning/server-codegen.md for the full design.
Re-exports§
pub use selector::Resolution;pub use selector::Selector;pub use selector::SelectorParseError;pub use selector::SelectorResolveError;pub use selector::resolve;
Modules§
- codegen
- Server codegen — trait + typed response enums (P4).
- edit
- Formatting-preserving edits to the
[server].operationsarray in a project’sopenapi-to-rust.toml. Backs theserver addandserver removeCLI subcommands. - list
openapi-to-rust server list— read-only operation discovery.- selector
- Server operation selectors.
Structs§
- Operation
Index - Read-only snapshot of every operation in a spec, in the order the analyzer surfaced them. Built once per command invocation.
- Operation
Summary - Display-friendly subset of
OperationInfoused byserver listand (later) by selector resolution andserver add/remove.