Skip to content

Commit

Permalink
fix: export global override of zod types
Browse files Browse the repository at this point in the history
  • Loading branch information
wahyubucil committed Nov 1, 2023
1 parent 522c31b commit 8467a4b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/boot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 8467a4b

Please # to comment.