feat(zod-openapi): expose from (#632)
parent
72d591aa35
commit
a405d08709
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@hono/zod-openapi': patch
|
||||
---
|
||||
|
||||
expose `extendZodWithOpenApi` from `zod-to-openapi`
|
|
@ -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> = {}
|
||||
|
|
Loading…
Reference in New Issue