Files
zn-ai/openapi-ts-request.config.ts
DEV_DSW 79bea4f107 Refactor UUID generation, remove unused logger and encryption utilities, and clean up request handling
- Updated `generateUUID` function for improved readability and performance.
- Deleted `logger.ts`, `other.ts`, `request.ts`, `storage.ts`, `tansParams.ts`, and `validate.ts` as they were no longer needed.
- Simplified TypeScript configuration by removing unnecessary paths and aliases.
- Enhanced Vite configuration for better project structure and maintainability.
2026-04-17 15:38:08 +08:00

15 lines
362 B
TypeScript

import type { GenerateServiceProps } from 'openapi-ts-request'
export default [
{
serversPath: './src/api',
requestLibPath: './request',
isTranslateToEnglishTag: true,
apifoxConfig: {
projectId: process.env.APIFOX_PROJECT_ID || '6424418',
apifoxToken: process.env.APIFOX_ACCESS_TOKEN || ''
},
},
] as GenerateServiceProps[]