From 1b8685d9a5dca606a013c8f1c2bb72437961883d Mon Sep 17 00:00:00 2001 From: Stephen Zhou <38493346+hyoban@users.noreply.github.com> Date: Sat, 24 Jan 2026 22:39:21 +0800 Subject: [PATCH] update --- web/openapi-ts.config.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/web/openapi-ts.config.ts b/web/openapi-ts.config.ts index 52f8b425b4..3aaaa2daee 100644 --- a/web/openapi-ts.config.ts +++ b/web/openapi-ts.config.ts @@ -5,6 +5,15 @@ export default defineConfig({ output: './gen', plugins: [ '@hey-api/typescript', - 'zod', + { + name: 'zod', + requests: true, + responses: true, + metadata: true, + definitions: true, + types: { + infer: true, + }, + }, ], })