Skip to main content

generate_with

Function generate_with 

Source
pub fn generate_with(
    spec: &str,
    options: GenerateOptions,
) -> Result<Vec<GeneratedFile>, Error>
Expand description

Generates Rust files from an OpenAPI specification with explicit options.

ยงErrors

Returns an error if the specification cannot be parsed, validated, or rendered.