/ orval.config.ts
orval.config.ts
1 import { defineConfig } from 'orval'; 2 3 export default defineConfig({ 4 dhuun: { 5 input: { 6 target: 'http://localhost:3000/api-json' 7 }, 8 output: { 9 target: './src/lib/client/dhuun.ts', 10 baseUrl: { 11 getBaseUrlFromSpecification: true 12 }, 13 mode: 'tags', 14 clean: true, 15 prettier: true, 16 client: 'fetch' 17 } 18 } 19 });