ppanel-web/apps/user/openapi2ts.config.ts
2024-11-17 16:28:00 +07:00

17 lines
414 B
TypeScript

const config = [
{
requestLibPath: "import request from '@/utils/request';",
schemaPath: 'https://swagger.ppanel.dev/common.json',
serversPath: './services',
projectName: 'common',
},
{
requestLibPath: "import request from '@/utils/request';",
schemaPath: 'https://swagger.ppanel.dev/user.json',
serversPath: './services',
projectName: 'user',
},
];
export default config;