Module helpers

Module helpers 

Source
Expand description

Helper functions for client generation

Structs§

NormalizedOperation
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