From 8467a4b2712d81de0ac59d013e8bfc3f0bc1dc86 Mon Sep 17 00:00:00 2001 From: Wahyu Budi Saputra Date: Wed, 1 Nov 2023 11:30:01 +0800 Subject: [PATCH] fix: export global override of zod types --- src/boot.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/boot.ts b/src/boot.ts index ecef04a..c0ddcfd 100644 --- a/src/boot.ts +++ b/src/boot.ts @@ -2,3 +2,6 @@ import { extendZodWithOpenApi } from '@asteasolutions/zod-to-openapi' import { z } from 'zod' extendZodWithOpenApi(z) + +// To export the global override of Zod types +export { ZodOpenAPIMetadata } from '@asteasolutions/zod-to-openapi'