@kubb/oas 4.11.0 → 4.11.2
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 +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +58 -27
- package/dist/index.d.ts +58 -27
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/utils.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/oas",
|
|
3
|
-
"version": "4.11.
|
|
3
|
+
"version": "4.11.2",
|
|
4
4
|
"description": "OpenAPI Specification (OAS) utilities and helpers for Kubb, providing parsing, normalization, and manipulation of OpenAPI/Swagger schemas.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"openapi",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
}
|
|
57
57
|
],
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@redocly/openapi-core": "^2.12.
|
|
59
|
+
"@redocly/openapi-core": "^2.12.6",
|
|
60
60
|
"hotscript": "^1.0.13",
|
|
61
61
|
"json-schema-to-ts": "^3.1.1",
|
|
62
62
|
"jsonpointer": "^5.0.1",
|
package/src/utils.ts
CHANGED
|
@@ -89,7 +89,7 @@ export async function parse(
|
|
|
89
89
|
const config = await loadConfig()
|
|
90
90
|
const bundleResults = await bundle({ ref: pathOrApi, config, base: pathOrApi })
|
|
91
91
|
|
|
92
|
-
return parse(bundleResults.bundle.parsed as string)
|
|
92
|
+
return parse(bundleResults.bundle.parsed as string, {oasClass, canBundle, enablePaths })
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
const oasNormalize = new OASNormalize(pathOrApi, {
|