Skip to content

v1.3.0

Choose a tag to compare

@yhnavein yhnavein released this 18 Aug 22:48
· 28 commits to master since this release
c8b9bc8
  • 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;
+}