Expand description
Type conversion utilities for OpenAPI schemas
Functions§
- extract_
type_ name_ from_ ref - Extract type name from OpenAPI reference Example: “#/components/schemas/User” -> “User”
- is_
rust_ keyword - Check if a string is a Rust keyword
- openapi_
type_ to_ ir - Convert OpenAPI type to IR type reference
- sanitize_
field_ name - Sanitize field name to be a valid Rust identifier
- to_
pascal_ case - Convert snake_case or kebab-case to PascalCase
- to_
snake_ case - Convert PascalCase or camelCase to snake_case