| 12345678910111213141516171819202122232425 |
- import { defineConfig } from 'orval'
- export default defineConfig({
- campusTrade: {
- input: {
- target: 'http://localhost:8090/v3/api-docs',
- },
- output: {
- mode: 'tags',
- client: 'axios',
- target: './src/api/endpoints/',
- schemas: './src/api/models',
- clean: true,
- override: {
- mutator: {
- path: './src/util/axios-instance.ts',
- name: 'customAxiosInstance',
- },
- },
- },
- hooks: {
- afterAllFilesWrite: 'prettier --write',
- },
- },
- })
|