@kubb/mcp 5.0.0-beta.105 → 5.0.0-beta.107
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/README.md
CHANGED
|
@@ -155,18 +155,17 @@ Example `kubb.config.ts`:
|
|
|
155
155
|
|
|
156
156
|
```typescript
|
|
157
157
|
import { defineConfig } from 'kubb'
|
|
158
|
-
import {
|
|
158
|
+
import { adapterOas } from '@kubb/adapter-oas'
|
|
159
159
|
import { pluginTs } from '@kubb/plugin-ts'
|
|
160
160
|
import { pluginAxios } from '@kubb/plugin-axios'
|
|
161
161
|
|
|
162
162
|
export default defineConfig({
|
|
163
|
-
input:
|
|
164
|
-
path: './petstore.yaml',
|
|
165
|
-
},
|
|
163
|
+
input: './petstore.yaml',
|
|
166
164
|
output: {
|
|
167
165
|
path: './src/generated',
|
|
168
166
|
},
|
|
169
|
-
|
|
167
|
+
adapter: adapterOas(),
|
|
168
|
+
plugins: [pluginTs(), pluginAxios()],
|
|
170
169
|
})
|
|
171
170
|
```
|
|
172
171
|
|
package/dist/index.cjs
CHANGED
|
@@ -17,7 +17,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
}
|
|
18
18
|
return to;
|
|
19
19
|
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
21
21
|
value: mod,
|
|
22
22
|
enumerable: true
|
|
23
23
|
}) : target, mod));
|
|
@@ -38,7 +38,7 @@ let node_module = require("node:module");
|
|
|
38
38
|
let node_process = require("node:process");
|
|
39
39
|
node_process = __toESM(node_process, 1);
|
|
40
40
|
//#region package.json
|
|
41
|
-
var version = "5.0.0-beta.
|
|
41
|
+
var version = "5.0.0-beta.107";
|
|
42
42
|
//#endregion
|
|
43
43
|
//#region src/schemas/generateSchema.ts
|
|
44
44
|
const generateSchema = valibot.object({
|