@kubb/adapter-oas 5.0.0-alpha.7 → 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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/adapter.ts +2 -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 {
|