2024-07-31 07:33:45 +00:00
|
|
|
import { defineConfig } from 'orval'
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
cakes: {
|
|
|
|
output: {
|
|
|
|
mode: 'tags-split',
|
2024-07-31 07:53:01 +00:00
|
|
|
target: 'src/shared/api',
|
2024-07-31 07:33:45 +00:00
|
|
|
schemas: 'src/shared/model',
|
|
|
|
client: 'vue-query',
|
2024-08-31 11:04:49 +00:00
|
|
|
baseUrl: 'https://cake-api.3crabs.ru',
|
2024-07-31 07:38:59 +00:00
|
|
|
// mock: true,
|
2024-07-31 07:33:45 +00:00
|
|
|
},
|
|
|
|
input: './cakes.json',
|
|
|
|
},
|
|
|
|
})
|