feat: 更新 openapi-ts-request 1.6.7 -> 1.10.0

This commit is contained in:
Utopia
2025-10-28 13:34:35 +08:00
parent 5c83613bc4
commit 3d8cd1509e
5 changed files with 22 additions and 25 deletions

View File

@@ -1,7 +1,8 @@
import type { GenerateServiceProps } from 'openapi-ts-request'
import { defineConfig } from 'openapi-ts-request'
export default [
export default defineConfig([
{
describe: 'unibest-openapi-test',
schemaPath: 'https://ukw0y1.laf.run/unibest-opapi-test.json',
serversPath: './src/service',
requestLibPath: `import request from '@/http/vue-query';\n import { CustomRequestOptions } from '@/http/types';`,
@@ -10,4 +11,4 @@ export default [
reactQueryMode: 'vue',
isGenJavaScript: false,
},
] as GenerateServiceProps[]
])