Compare commits

...

3 Commits

Author SHA1 Message Date
Kevin f184c4f82e
Merge ea95a7df84 into bed23c62f5 2025-04-30 17:30:13 +10:00
Kevin De Porre ea95a7df84 Changeset 2025-04-22 08:52:25 +02:00
Kevin De Porre 617d7f17c8 Run validators before route middleware. 2025-04-22 08:51:57 +02:00
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
'@hono/zod-openapi': patch
---
Run validators before route middleware.

View File

@ -546,8 +546,8 @@ export class OpenAPIHono<
this.on(
[route.method],
route.path.replaceAll(/\/{(.+?)}/g, '/:$1'),
...middleware,
...validators,
...middleware,
handler
)
return this