@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/docs/options.md CHANGED
@@ -58,7 +58,7 @@ Picks the `servers` entry that becomes the document `baseURL`, and fills in its
58
58
  | Required | `false` |
59
59
  | Default | None, so `baseURL` is `null` |
60
60
 
61
- - `index`: position in the `servers` array, usually `0`.
61
+ - `index`: position in the `servers` array, usually `0`. Plugins read it as `meta.serverIndex` to pick the same position in an operation's or a path's own `servers`. `meta.servers` and those lists leave out entries without a `url`, so the position shifts when such an entry comes before the selected one.
62
62
  - `variables`: placeholder values. A variable you leave out uses its spec `default`.
63
63
 
64
64
  ```typescript
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/adapter-oas",
3
- "version": "5.23.5",
3
+ "version": "5.24.0",
4
4
  "description": "OpenAPI and Swagger adapter for Kubb. Parses and validates OAS 2.0/3.x specifications into a @kubb/ast RootNode for downstream code generation plugins.",
5
5
  "keywords": [
6
6
  "adapter",
@@ -66,10 +66,11 @@
66
66
  "registry": "https://registry.npmjs.org/"
67
67
  },
68
68
  "dependencies": {
69
- "@kubb/core": "^5.23.5",
70
- "@kubb/kit": "5.23.5",
69
+ "@kubb/ast": "5.24.0",
70
+ "@kubb/core": "5.24.0",
71
+ "@kubb/kit": "5.24.0",
71
72
  "@readme/openapi-parser": "^10.0.0",
72
- "@scalar/openapi-upgrader": "^0.5.0",
73
+ "@scalar/openapi-upgrader": "^0.5.1",
73
74
  "api-ref-bundler": "0.5.1",
74
75
  "js-yaml": "^5.5.0",
75
76
  "yaml": "^2.9.1"