@kubb/adapter-oas 5.23.5 → 5.24.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 +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/docs/options.md +1 -1
- package/package.json +5 -4
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var compatibility = {
|
|
|
15
15
|
"node": ">=22.22"
|
|
16
16
|
};
|
|
17
17
|
// package.json
|
|
18
|
-
var version = "5.
|
|
18
|
+
var version = "5.24.0";
|
|
19
19
|
// src/constants.ts
|
|
20
20
|
/**
|
|
21
21
|
* Default parser options applied when no explicit options are provided.
|
|
@@ -4074,6 +4074,7 @@ const adapterOas = defineExtension({
|
|
|
4074
4074
|
document,
|
|
4075
4075
|
server
|
|
4076
4076
|
}),
|
|
4077
|
+
...server?.index !== void 0 && { serverIndex: server.index },
|
|
4077
4078
|
servers: toInputServers(document.servers ?? []),
|
|
4078
4079
|
...document.tags?.length && { tags: toInputTags(document.tags) },
|
|
4079
4080
|
...authSchemes.length && { auth: authSchemes },
|