Skip to content

Commit

Permalink
Export RouteConfig to allow wrappers around createRoute
Browse files Browse the repository at this point in the history
  • Loading branch information
Gablas committed Feb 1, 2024
1 parent 497db4c commit 9f9abd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zod-openapi/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,4 +429,4 @@ export const createRoute = <P extends string, R extends Omit<RouteConfig, 'path'
}

extendZodWithOpenApi(z)
export { z }
export { z, RouteConfig }

0 comments on commit 9f9abd9

Please sign in to comment.