@kubb/adapter-oas 5.8.1 → 5.8.3

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.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./rolldown-runtime-C0LytTxp.js";
2
- import { Diagnostics, ast, childName, createAdapter, enumPropName, extractRefName, macroDiscriminatorEnum, macroEnumName, macroSimplifyUnion, mergeAdjacentObjectsLazy } from "@kubb/kit";
2
+ import { Diagnostics, ast, childName, defineExtension, enumPropName, extractRefName, macroDiscriminatorEnum, macroEnumName, macroSimplifyUnion, mergeAdjacentObjectsLazy } from "@kubb/kit";
3
3
  import { access, readFile } from "node:fs/promises";
4
4
  import { parse } from "yaml";
5
5
  import { upgrade } from "@scalar/openapi-upgrader";
@@ -11,7 +11,7 @@ var compatibility = {
11
11
  };
12
12
  //#endregion
13
13
  //#region package.json
14
- var version = "5.8.1";
14
+ var version = "5.8.3";
15
15
  //#endregion
16
16
  //#region src/constants.ts
17
17
  /**
@@ -2354,7 +2354,8 @@ const adapterOasName = "oas";
2354
2354
  * })
2355
2355
  * ```
2356
2356
  */
2357
- const adapterOas = createAdapter({
2357
+ const adapterOas = defineExtension({
2358
+ kind: "adapter",
2358
2359
  meta: {
2359
2360
  name: "oas",
2360
2361
  version,