feat(zod-openapi): expose from (#632)

pull/635/head
Paweł Dąbrowski 2024-07-11 09:35:49 +02:00 committed by GitHub
parent 72d591aa35
commit a405d08709
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
'@hono/zod-openapi': patch
---
expose `extendZodWithOpenApi` from `zod-to-openapi`

View File

@ -548,7 +548,7 @@ export const createRoute = <P extends string, R extends Omit<RouteConfig, 'path'
}
extendZodWithOpenApi(z)
export { z }
export { extendZodWithOpenApi, z }
function addBasePathToDocument(document: Record<string, any>, basePath: string) {
const updatedPaths: Record<string, any> = {}