build: add orval config

This commit is contained in:
Константин Уколов
2024-07-31 10:33:45 +03:00
parent 9a2fcede1d
commit 0f08a7007d
2 changed files with 638 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import { defineConfig } from 'orval'
export default defineConfig({
cakes: {
output: {
mode: 'tags-split',
target: 'src/cakes.ts',
schemas: 'src/shared/model',
client: 'vue-query',
mock: true,
},
input: './cakes.json',
},
})