import{generate}from'@toft-code/swagger-axios-ts-generator'generate({// out files pathout: './testServices',// service name suffixserviceNameSuffix: 'Service',// api json urlurl:
'https://raw.githubusercontent.com/toft-code/swagger-axios-ts-generator/master/test.json',// foreach operationIdoperationIdForeach: (operationId: string)=>{returnoperationId.match(/[a-zA-Z]+/g)?.join('')??operationId},// services/index.ts templaterequestTemplateUrl:
'https://raw.githubusercontent.com/toft-tech/swagger-axios-ts-generator/master/src/template/indexAxiosTemplate.ts',})