Commit Graph

11 Commits (a9804afe71fe5876963b3a6f5972a3e5d50dbdca)

Author SHA1 Message Date
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
Yusuke Wada ebd70a0e03
feat(zod-openapi): support `enum` (#837)
* feat(zod-openapi): support `enum`

* add changeset

* add changeset
2024-11-19 10:53:55 +09:00
Yusuke Wada b0320d91f0
chore(zod-openapi): format code and fixed the type (#827) 2024-11-14 16:52:38 +09:00
oberbeck 2eec6f6fd9
feat(zod-openapi): infer env from routeMiddleware (#807)
* feat(zod-openapi): infer env from routeMiddleware

* chore(zod-openapi): add changeset for routeMiddleware Env inference

Close #715
2024-11-07 12:11:30 +09:00
Yusuke Wada a6ec008fbd
fix(zod-openapi): don't validate the body if content-type is mismatched (#686)
* fix(zod-openapi): don't validate the body if content-type is mismatched

* changeset
2024-08-10 16:01:19 +09:00
Yusuke Wada 834a97a7b0
fix(zod-openapi): support `coerce` (#623)
* fix(zod-openapi): support `coerce`

* add changeset
2024-07-07 12:42:18 +09:00
Yusuke Wada 9a9de50494
fix(zod-openapi): use `JSONParsed` for creating a response type (#576)
* fix(zod-openapi): use `JSONParsed` for creating a response type

* add changeset
2024-06-15 00:21:44 +09:00
Yusuke Wada 1e0d857ef9
feat(zod-openapi): bump `zod-to-openapi` supports ESM (#443)
* feat(zod-openapi): bump `zod-to-openapi` supports ESM

* add changeset
2024-04-07 19:18:56 +09:00
David b1f8a5325c
fix(zod-openapi): BasePath not included in client types (#429)
fixes #428
2024-03-22 17:23:53 +09:00
Yusuke Wada a03e133d42
chore: setup prettier (#301)
* changeset

* chore: setup prettier
2023-12-13 17:31:25 +09:00
Phil Chen 8178ba094f
feat(zod-openapi): use z.input to infer input types of the request (#286)
* fix(zod-openapi): vite typecheck for type testing

* feat(zod-openapi): use z.input to infer types for inputs of the input
2023-12-05 18:15:06 +09:00