panel-web/apps/user/openapi2ts.config.ts
2024-11-26 14:58:23 +07:00

17 lines
424 B
TypeScript

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