@kubb/adapter-oas 5.13.1 → 5.14.0

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/dist/index.cjs CHANGED
@@ -36,7 +36,7 @@ var compatibility = {
36
36
  };
37
37
  //#endregion
38
38
  //#region package.json
39
- var version = "5.13.1";
39
+ var version = "5.14.0";
40
40
  //#endregion
41
41
  //#region src/constants.ts
42
42
  /**
@@ -2324,7 +2324,7 @@ function createSchemaParser(ctx) {
2324
2324
  function collectInlineEnums(roots, topLevelNames) {
2325
2325
  const promoted = /* @__PURE__ */ new Map();
2326
2326
  for (const root of roots) {
2327
- const isSchemaRoot = root.kind === "Schema";
2327
+ const isSchemaRoot = root.kind === _kubb_kit.ast.nodeKinds.schema;
2328
2328
  for (const node of _kubb_kit.ast.collect(root, { schema: (schemaNode) => schemaNode })) {
2329
2329
  if (node.type !== "enum" || !node.name) continue;
2330
2330
  if (isSchemaRoot && node === root) continue;