-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathclean.config.ts
29 lines (26 loc) · 1.12 KB
/
clean.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { defineConfig } from './src/config';
export default defineConfig({
zod: true,
// url: 'http://yapi.smart-xwork.cn/api/open/plugin/export-full?type=json&pid=186904&status=all&token=59ecff7d43926c3be48f893deba401407f0d819c6c24a99b307a78c0877bc7d2',
// url: './test.json',
// url: './swagger2.json',
url: 'https://petstore3.swagger.io/api/v3/openapi.json', // swagger 3
// url: 'https://petstore.swagger.io/v2/swagger.json', // swagger 2
// url: 'http://yapi.smart-xwork.cn/api/open/plugin/export-full?type=json&pid=186904&status=all&token=59ecff7d43926c3be48f893deba401407f0d819c6c24a99b307a78c0877bc7d2',
// url: './example/diff/origin.json',
// url: './example/diff/incApi.json',
// url: './example/diff/decApi.json',
// url: './example/diff/path.json',
// url: './example/diff/query.json',
// url: './example/diff/body.json',
// url: './example/diff/response.json',
// url: './example/diff/bigChange.json',
// url: './buildSwagger.json',
// url: './buildSwagger.json',
type: 'umi3',
mock: {},
// mock: {
// includePath: ['/store/*'],
// excludePath: ['/store/order/*'],
// },
});