UNIVPLMDataIntegration/Web/openapi-ts-request.config.ts

8 lines
340 B
TypeScript
Raw Normal View History

import type { GenerateServiceProps } from 'openapi-ts-request';
export default {
schemaPath: 'http://localhost:5005/swagger/Default/swagger.json', // swagger.json 文件路径
serversPath: './src/apis', // 接口文件路径
requestLibPath: 'import request from "/@/utils/axios-utils"', // 请求方法路径
} as GenerateServiceProps;