Commit Graph

6 Commits (4d67af162fbdaa75484eccae5dc4fad44ff2dab0)

Author SHA1 Message Date
Jani 3f63c46fa6
fix(zod-openapi): support default response (#855)
* fix(zod-openapi): support default response

* chore: changeset
2024-11-29 21:07:33 +09:00
Yusuke Wada a9804afe71
fix(zod-openapi): return `Response` if response is not text or JSON (#853)
* fix(zod-openapi): return `Response` if response is not text or JSON

Co-authored-by: sushichan044 <mail@sushichan.live>

* fixed tests and correct types

* add changeset

---------

Co-authored-by: sushichan044 <mail@sushichan.live>
2024-11-28 18:35:21 +09:00
Anthony Skorupskyy 4ebecc6142
fix(zod-openapi): multi-middleware complex type inference (#849) 2024-11-28 10:54:26 +09:00
Daniel Pedersen bbb48ef368
fix(zod-openapi): infer env type parameter from middleware (#828)
* fix(zod-openapi): infer env type parameter from middleware

* add test
2024-11-16 09:46:13 +09:00
akineko 0a43d2c562
fix(zod-openapi): update RouteHandler type to support MaybePromise (#529)
* fix(zod-openapi): update RouteHandler type to support MaybePromise

* add .changeset/cuddly-pets-drum.md
2024-05-19 00:58:15 +09:00
Alex 2d5ef82558
fix(zod-openapi): return type of handler should be MaybePromise (#522)
* fix(zod-openapi): return type of handler should be MaybePromise

* revert: changes

* Create modern-buttons-impress.md

* fix: types
2024-05-15 16:51:34 +09:00