Compare commits
4 Commits
f184c4f82e
...
263c170627
Author | SHA1 | Date |
---|---|---|
|
263c170627 | |
|
0debb59474 | |
|
ea95a7df84 | |
|
617d7f17c8 |
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
'@hono/zod-openapi': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Run validators before route middleware.
|
|
@ -0,0 +1,18 @@
|
||||||
|
name: codestyle
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
branches: ['*']
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
ci:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 20.x
|
||||||
|
- run: yarn
|
||||||
|
- run: yarn format
|
||||||
|
- run: yarn lint
|
|
@ -546,8 +546,8 @@ export class OpenAPIHono<
|
||||||
this.on(
|
this.on(
|
||||||
[route.method],
|
[route.method],
|
||||||
route.path.replaceAll(/\/{(.+?)}/g, '/:$1'),
|
route.path.replaceAll(/\/{(.+?)}/g, '/:$1'),
|
||||||
...middleware,
|
|
||||||
...validators,
|
...validators,
|
||||||
|
...middleware,
|
||||||
handler
|
handler
|
||||||
)
|
)
|
||||||
return this
|
return this
|
||||||
|
|
Loading…
Reference in New Issue