@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 CHANGED
@@ -16,7 +16,7 @@ var compatibility = {
16
16
  "node": ">=22.22"
17
17
  };
18
18
  // package.json
19
- var version = "5.23.5";
19
+ var version = "5.24.0";
20
20
  // src/constants.ts
21
21
  /**
22
22
  * Default parser options applied when no explicit options are provided.
@@ -4076,6 +4076,7 @@ const adapterOas = (0, _kubb_core.defineExtension)({
4076
4076
  document,
4077
4077
  server
4078
4078
  }),
4079
+ ...server?.index !== void 0 && { serverIndex: server.index },
4079
4080
  servers: toInputServers(document.servers ?? []),
4080
4081
  ...document.tags?.length && { tags: toInputTags(document.tags) },
4081
4082
  ...authSchemes.length && { auth: authSchemes },