Files
DreamChat/apps/frontend/orval.config.js
2026-02-24 10:34:55 +00:00

25 lines
530 B
JavaScript

module.exports = {
dreamchat: {
input: {
target: '../openapi/openapi.json',
},
output: {
mode: 'tags-split',
target: './src/api/generated',
schemas: './src/api/generated/model',
client: 'fetch',
baseUrl: 'http://localhost:3000',
mock: false,
override: {
fetch: {
includeHttpResponseReturnType: false,
},
mutator: {
path: './src/api/mutator/custom-fetch.ts',
name: 'customFetch',
},
},
},
},
};