portal-sdk/orval.config.ts

19 lines
450 B
TypeScript
Raw Normal View History

2024-03-06 21:51:23 +00:00
import { defineConfig } from 'orval';
export default defineConfig({
account: {
input: './src/account/swagger.yaml',
output: {
mode: 'split',
workspace: "./src/account/generated",
target: 'openapi.ts',
override: {
mutator: {
path: '../axios.ts',
name: 'customInstance',
},
},
},
},
});