- feat: Added
skipDeprecated option to exclude deprecated operations from generation (disabled by default)
- feat: Smart component schema filtering - automatically detects and skips unused component schemas (only when
skipDeprecated is enabled)
- fix: Enhanced sanitization for path parameters, component names, property names, and enum values to ensure valid TypeScript identifiers. A lot of lessons learned from testing large, poorly-structured OpenAPI specifications
- impr: Expanded reserved keywords list for better TypeScript compatibility
- impr: Better OpenAPI 3.1 support for anyOf/oneOf nullable types
- impr: Enhanced documentation generation - comments now include description or title fields from spec
- chore: improved test coverage, internal comments and overall code quality
Before and after this version: (sanitization)
-export interface CategoryNodeBase-Output {
- X-Amz-Algorithm: string;
- 67de71395bbe4: string;
- created at?: string;
- updated-at?: string;
-}
+export interface CategoryNodeBase_Output {
+ "X-Amz-Algorithm": string;
+ "67de71395bbe4": string;
+ "created at"?: string;
+ "updated-at"?: string;
+}