@kubb/plugin-ts 3.4.0 → 3.4.2

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.
@@ -2399,7 +2399,7 @@ function parse({ parent, current, siblings }, options) {
2399
2399
  const minSchema = schemas.find((schema) => schema.keyword === pluginOas.schemaKeywords.min);
2400
2400
  const maxSchema = schemas.find((schema) => schema.keyword === pluginOas.schemaKeywords.max);
2401
2401
  const matchesSchema = schemas.find((schema) => schema.keyword === pluginOas.schemaKeywords.matches);
2402
- let type = schemas.map((schema) => parse({ parent: current, current: schema, siblings }, options)).filter(Boolean)[0];
2402
+ let type = schemas.map((schema) => parse({ parent: current, current: schema, siblings: schemas }, options)).filter(Boolean)[0];
2403
2403
  if (isNullable) {
2404
2404
  type = factory__namespace.createUnionDeclaration({
2405
2405
  nodes: [type, factory__namespace.keywordTypeNodes.null]
@@ -2582,5 +2582,5 @@ react/cjs/react.development.js:
2582
2582
  exports.OasType = OasType;
2583
2583
  exports.Type = Type2;
2584
2584
  exports.init_cjs_shims = init_cjs_shims;
2585
- //# sourceMappingURL=chunk-FW6ZCHXE.cjs.map
2586
- //# sourceMappingURL=chunk-FW6ZCHXE.cjs.map
2585
+ //# sourceMappingURL=chunk-NKFTP2AF.cjs.map
2586
+ //# sourceMappingURL=chunk-NKFTP2AF.cjs.map