mirror of
https://github.com/langgenius/dify.git
synced 2026-04-21 03:07:39 +08:00
20 lines
355 B
TypeScript
20 lines
355 B
TypeScript
import { defineConfig } from '@hey-api/openapi-ts'
|
|
|
|
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,
|
|
},
|
|
},
|
|
],
|
|
})
|