@kubb/adapter-oas 5.0.0-alpha.6 → 5.0.0-alpha.8
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 +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/adapter.ts +3 -2
package/dist/index.cjs
CHANGED
|
@@ -1854,7 +1854,7 @@ const adapterOasName = "oas";
|
|
|
1854
1854
|
* })
|
|
1855
1855
|
* ```
|
|
1856
1856
|
*/
|
|
1857
|
-
const adapterOas = (0, _kubb_core.
|
|
1857
|
+
const adapterOas = (0, _kubb_core.createAdapter)((options) => {
|
|
1858
1858
|
const { validate = true, oasClass, contentType, serverIndex, serverVariables, discriminator = "strict", collisionDetection = false, dateType = "string", integerType = "number", unknownType = "any", emptySchemaType = unknownType } = options;
|
|
1859
1859
|
const nameMapping = /* @__PURE__ */ new Map();
|
|
1860
1860
|
return {
|
|
@@ -1907,6 +1907,7 @@ const adapterOas = (0, _kubb_core.defineAdapter)((options) => {
|
|
|
1907
1907
|
}),
|
|
1908
1908
|
meta: {
|
|
1909
1909
|
title: oas.api.info?.title,
|
|
1910
|
+
description: oas.api.info?.description,
|
|
1910
1911
|
version: oas.api.info?.version,
|
|
1911
1912
|
baseURL
|
|
1912
1913
|
}
|