mirror of
https://github.com/langgenius/dify.git
synced 2026-03-29 18:09:57 +08:00
25 lines
490 B
TypeScript
25 lines
490 B
TypeScript
import { defineConfig } from '@hey-api/openapi-ts'
|
|
|
|
import { defineConfig as defineOrpcConfig } from './plugins/hey-api-orpc/config'
|
|
|
|
export default defineConfig({
|
|
input: './open-api/petStore.yaml',
|
|
output: './gen',
|
|
plugins: [
|
|
'@hey-api/typescript',
|
|
{
|
|
name: 'zod',
|
|
requests: true,
|
|
responses: true,
|
|
metadata: true,
|
|
definitions: true,
|
|
types: {
|
|
infer: true,
|
|
},
|
|
},
|
|
defineOrpcConfig({
|
|
output: 'orpc',
|
|
}),
|
|
],
|
|
})
|