Skip to main content

generate_rust_client

Function generate_rust_client 

Source
pub fn generate_rust_client(
    metadata: &ClientMetadata,
    endpoints: &[Endpoint],
    output_path: &Path,
) -> Result<(), Error>
Expand description

Generate Rust client from metadata and OpenAPI endpoints.

output_path is the full path to the output file (e.g., “crates/brk_client/src/lib.rs”).