@pikku/openapi-parser 0.12.9 → 0.12.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @pikku/openapi-parser
2
2
 
3
+ ## 0.12.10
4
+
5
+ ### Patch Changes
6
+
7
+ - 02fca80: Fix OpenAPI-to-addon codegen robustness across 2521 real-world specs (77% → 97.8% pass rate).
8
+
9
+ - Cycle detection and depth limits in schema generation to prevent stack overflows
10
+ - Schema partitioning: shared types file for multi-referenced schemas, inline for single-use (fixes crash on large specs)
11
+ - Topological sort with z.lazy() for circular schema references
12
+ - Validate default value types and enum membership before emitting .default()
13
+ - Skip refinements (.min/.max) on incompatible Zod types
14
+ - Sanitize reserved words and digit-leading names in function/type identifiers
15
+ - Deduplicate schema names, imports, and object properties
16
+ - 117 unit tests covering all edge cases
17
+
3
18
  ## 0.12.9
4
19
 
5
20
  ### Patch Changes
package/dist/codegen.d.ts CHANGED
@@ -16,6 +16,7 @@ interface CodegenFlags {
16
16
  secret: boolean;
17
17
  credential?: 'apikey' | 'bearer' | 'oauth2';
18
18
  mcp?: boolean;
19
+ camelCase?: boolean;
19
20
  }
20
21
  export declare function generateAddonFromOpenAPI(spec: ParsedSpec, vars: AddonVars, flags: CodegenFlags): Record<string, string>;
21
22
  export {};