ERPTurbo_Client/packages/app-client/openapi2ts.config.ts
2025-11-03 10:24:10 +08:00

22 lines
642 B
TypeScript

//@ts-nocheck
import path from "path";
export default [
{
requestLibPath: "import request from '../request';",
// schemaPath: 'http://localhost:8080/auth/v3/api-docs',
schemaPath: path.resolve(__dirname, "../../swagger/auth.json"),
serversPath: "./src/services",
projectName: "auth",
namespace: "AuthAPI",
},
{
requestLibPath: "import request from '../request';",
// schemaPath: 'http://localhost:8080/mdb-business/v3/api-docs',
schemaPath: path.resolve(__dirname, "../../swagger/business.json"),
serversPath: "./src/services",
projectName: "business",
namespace: "BusinessAPI",
},
];