78f6249
ZhenYi
fix(git): answer missing tags with 404, keep ref names short, resolve nested submodules
78f6249
import { defineConfig } from 'orval'
export default defineConfig({
apiclient: {
input: {
target: './openapi.json',
},
output: {
target: './packages/apiclient/index.ts',
mode: 'tags-operations-split',
client: 'fetch',
httpClient: 'fetch',
clean: true,
formatter: 'prettier',
baseUrl: '/api/v1',
override: {
enumGenerationType: 'union',
},
},
},
})