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
github-actions[bot]
a2ffc34b31
Version Packages ( #851 )
2024-11-28 10:57:56 +09:00
Anthony Skorupskyy
4ebecc6142
fix(zod-openapi): multi-middleware complex type inference ( #849 )
2024-11-28 10:54:26 +09:00
github-actions[bot]
c063c66a55
Version Packages ( #838 )
2024-11-19 11:00:17 +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
github-actions[bot]
68753ca8b2
Version Packages ( #830 )
2024-11-16 09:50:57 +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
Yusuke Wada
b0320d91f0
chore(zod-openapi): format code and fixed the type ( #827 )
2024-11-14 16:52:38 +09:00
oberbeck
2f55c21d62
docs(zod-openapi): use tuple in middleware example ( #812 )
2024-11-09 10:05:26 +09:00
github-actions[bot]
d903e27888
Version Packages ( #811 )
2024-11-07 12:19:54 +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
Yam Borodetsky
75eef8790f
docs(zod-openapi): fix tip block in readme ( #774 )
...
The `> [!TIP]` block is now formatted correctly, allowing correct display within GitHub.
2024-10-11 16:34:25 +09:00
Yusuke Wada
aba8ea6411
chore(zod-openapi): don't release
2024-10-06 13:42:27 +09:00
github-actions[bot]
7253e6b9f1
Version Packages ( #764 )
2024-10-06 13:28:47 +09:00
github-actions[bot]
f6f13175e2
Version Packages ( #761 )
2024-10-03 19:16:05 +09:00
Luca Schultz
f6d642afdd
feat(zod-openapi): add target property to parameter of validation hook ( #756 )
...
* feat(zod-openapi): add target property to parameter of validation hook
Signed-off-by: Luca Schultz <github@lucaschultz.com>
* add changeset
---------
Signed-off-by: Luca Schultz <github@lucaschultz.com>
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-10-03 19:13:19 +09:00
github-actions[bot]
cb126e0902
Version Packages ( #751 )
2024-09-26 12:38:19 +09:00
Yusuke Wada
98d4ceab9c
chore(zod-openapi): bump `@hono/zod-validator` ( #750 )
...
* chore(zod-openapi): bump `@hono/zod-validator`
* add changeset
2024-09-26 12:35:15 +09:00
Yusuke Wada
c4f537ff63
chore: update lockfile
2024-09-26 12:18:36 +09:00
Yusuke Wada
fb64367811
fix(zod-openapi): fix `@hono/zod-validator` version
2024-09-26 12:16:14 +09:00
github-actions[bot]
18c9518505
Version Packages ( #748 )
2024-09-26 12:04:09 +09:00
Masashi Tomooka
c5fb51f783
docs(zod-openapi): fix missing arguments for app.doc31 ( #721 )
2024-08-29 15:12:57 +09:00
github-actions[bot]
588b0eb151
Version Packages ( #714 )
2024-08-25 15:16:19 +09:00
Axel Meinhardt
dadf5ce3c2
feat(zod-openapi): allow multiple mimetype ( #710 )
...
* feat(zod-openapi): allow multiple mimetype
Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>
* simplify the test
---------
Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-08-25 12:01:09 +09:00
github-actions[bot]
2528a9fd63
Version Packages ( #690 )
2024-08-11 11:36:08 +09:00
Yusuke Wada
c3d4886800
fix(zod-openapi): supports `required` for JSON and Form body ( #689 )
...
* fix(zod-openapi): supports `required` for JSON and Form body
* changeset
2024-08-11 11:33:09 +09:00
github-actions[bot]
2d14b1c8a4
Version Packages ( #687 )
2024-08-10 16:13:31 +09:00
Yusuke Wada
0add2f5800
refactor(zod-openapi): change the position of functions ( #688 )
2024-08-10 16:10:24 +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
Jeff Astor
5facd8cd25
Update README.md ( #684 )
...
Fix typo in code sample for hono/cache
2024-08-09 11:36:33 +09:00
github-actions[bot]
e488b9f08a
Version Packages ( #659 )
2024-07-21 18:29:59 +09:00
Kirill Timchenko
a04ab70c2c
fix(zod-openapi): infer OpenAPIObjectConfig ( #656 )
...
* fix(zod-openapi): infer OpenAPIObjectConfig
* minor -> patch
2024-07-21 18:27:06 +09:00
github-actions[bot]
9467b7e54c
Version Packages ( #647 )
2024-07-17 21:39:14 +09:00
David Havl
f38a6166f6
feat(zod-openapi): Support for other json content-types such as application/vnd.api+json, application/problem+json, etc. ( #645 )
...
* Support other json content-types
* Run changeset
2024-07-17 18:19:04 +09:00
github-actions[bot]
d722b198e0
Version Packages ( #635 )
2024-07-11 16:39:12 +09:00
Paweł Dąbrowski
a405d08709
feat(zod-openapi): expose from ( #632 )
2024-07-11 16:35:49 +09:00
github-actions[bot]
9bf6c4bb8e
Version Packages ( #624 )
2024-07-07 13:03:36 +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
github-actions[bot]
52c0e418cd
Version Packages ( #610 )
2024-07-02 00:21:10 +09:00
Yusuke Wada
b06bde6ef5
fix(zod-openapi): support a base path ( #609 )
...
* fix(zod-openapi): support a base path
* add changeset
2024-07-02 00:18:11 +09:00
github-actions[bot]
51813f68f3
Version Packages ( #608 )
2024-07-01 23:01:40 +09:00
Yusuke Wada
375c98b145
fix(zod-openapi): remove the type error for the hook ( #607 )
...
* fix(zod-openapi): remove the type error for the hook
* add changeset
2024-07-01 22:58:40 +09:00
github-actions[bot]
023e07be0a
Version Packages ( #583 )
2024-06-18 00:13:24 +09:00
Yusuke Wada
053a85c722
fix(zod-openapi): bump `@asteasolutions/zod-to-openapi` ( #582 )
...
* fix(zod-openapi): bump `@asteasolutions/zod-to-openapi`
* add changeset
* update lockfile
2024-06-18 00:08:58 +09:00
github-actions[bot]
9d3609f1ca
Version Packages ( #577 )
2024-06-15 00:26:54 +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
github-actions[bot]
6b06138a50
Version Packages ( #575 )
2024-06-14 19:08:46 +09:00
Yusuke Wada
ef9f45ab69
fix(zod-openapi): relax types to support `.refine()` for an object ( #574 )
...
* fix(zod-openapi): relax types to support `.refine()` for an object
* add a chengeset
2024-06-14 18:58:40 +09:00
github-actions[bot]
ce635982d7
Version Packages ( #558 )
2024-06-05 00:01:05 +09:00
arjunyel
69e5364464
fix(zod-openapi): support openapi yaml with middleware ( #557 )
2024-06-04 23:48:47 +09:00