Skip to main content

generate_python_client

Function generate_python_client 

Source
pub fn generate_python_client(
    metadata: &ClientMetadata,
    endpoints: &[Endpoint],
    schemas: &BTreeMap<String, Value>,
    output_path: &Path,
) -> Result<(), Error>
Expand description

Generate Python client from metadata and OpenAPI endpoints.

output_path is the full path to the output file (e.g., “packages/brk_client/init.py”).