build: add orval config
This commit is contained in:
@@ -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',
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user