Expand description
Helper functions for client generation
Structs§
- Normalized
Operation - Normalized operation structure
Functions§
- convert_
path_ format - Convert OpenAPI path to framework-specific path format
- extract_
path_ parameters - Extract path parameters from OpenAPI path
- generate_
camel_ case_ operation_ id - Generate a camelCase operation ID from method, path, and optional summary
- generate_
type_ name - Generate a readable type name from operation ID
- normalize_
operation - Convert OpenAPI operation to a more convenient format
- sanitize_
identifier - Sanitize an identifier to be a valid TypeScript/JavaScript identifier
- schema_
to_ typescript_ type - Generate TypeScript type from OpenAPI schema with proper formatting