@kubb/adapter-oas 5.15.3 → 5.16.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
@@ -21,7 +21,7 @@ Pass these options to `adapterOas()`. All of them are optional.
21
21
 
22
22
  ### validate
23
23
 
24
- Validates the OpenAPI spec with `@readme/openapi-parser` before parsing. Each problem is reported as a [`KUBB_INVALID_SPEC`](https://kubb.dev/docs/5.x/reference/diagnostics#kubb-invalid-spec) warning, and generation continues. Set it to `false` to skip the check, which makes generation faster on a large spec. Run [`kubb validate`](https://kubb.dev/docs/5.x/reference/commands/validate) to list every error.
24
+ Validates the OpenAPI spec with `@readme/openapi-parser` before parsing. Each problem is reported as a [`KUBB_INVALID_SPEC`](https://kubb.dev/docs/5.x/reference/diagnostics#kubb-invalid-spec) warning, and generation continues. Set it to `false` to skip the check, which makes generation faster on a large spec. Run [`kubb validate`](https://kubb.dev/docs/5.x/reference/commands/validate) to list every error. An OpenAPI 3.2 document is not validated yet, because `@readme/openapi-parser` does not support 3.2, and gets one warning that says so.
25
25
 
26
26
  | | |
27
27
  | -------- | --------- |
@@ -4,7 +4,7 @@
4
4
  "name": "oas",
5
5
  "export": "adapterOas",
6
6
  "displayName": "OpenAPI",
7
- "description": "Reads an OpenAPI 2.0, 3.0, or 3.1 spec and converts every schema and operation into the AST that Kubb plugins generate from.",
7
+ "description": "Reads an OpenAPI 2.0, 3.0, 3.1, or 3.2 spec and converts every schema and operation into the AST that Kubb plugins generate from.",
8
8
  "category": "openapi",
9
9
  "icon": {
10
10
  "light": "https://kubb.dev/feature/openapi.svg"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/adapter-oas",
3
- "version": "5.15.3",
3
+ "version": "5.16.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,8 +66,8 @@
66
66
  "registry": "https://registry.npmjs.org/"
67
67
  },
68
68
  "dependencies": {
69
- "@kubb/core": "^5.15.3",
70
- "@kubb/kit": "5.15.3",
69
+ "@kubb/core": "^5.16.0",
70
+ "@kubb/kit": "5.16.0",
71
71
  "@readme/openapi-parser": "^10.0.0",
72
72
  "@scalar/openapi-upgrader": "^0.4.6",
73
73
  "api-ref-bundler": "0.5.1",