Commit Graph

17 Commits (bae3c0fd43f25786c57d716f34e024969a5618ee)

Author SHA1 Message Date
Yusuke Wada bae3c0fd43
test(zod-openapi): update tests (#268)
* changeset

* test(zod-openapi): update tests

* changeset

* delete md

* update README
2023-11-20 17:56:04 +09:00
Karibash 368c3520fa
fix(zod-openapi): Fix a bug that slashes were duplicated when mountin… (#258)
* fix(zod-openapi): Fix a bug that slashes were duplicated when mounting a path using the route method

* fix: Make the paths be merged using internally defined utility functions instead
2023-11-16 19:24:53 +09:00
Yusuke Wada eb3694cd2c
test(zod-openapi): add content-type to avoid errors (#257)
* changeset

* test(zod-openapi): add content-type to avoid error
2023-11-16 06:33:29 +09:00
Yusuke Wada 2d2fdd0379
feat(zod-openapi): allows the response to be `Response` (#206)
* feat: allows the response to be `Response`

* add changeset
2023-10-22 12:05:43 +09:00
Callum d2398a4c90
test(zod-openapi): additional headers test for `Authorization` (#192)
* include test for array of headers

* merge route and routeWithAuth from 3 tests into 2 tests
2023-10-10 20:45:05 +09:00
Yusuke Wada 047eca5ca9
fix(zod-openapi): enable `basePath()` (#179)
* fix(zod-openapi): enable `basePath()`

* add changeset
2023-09-26 17:16:36 +09:00
Matt Sutkowski 9c45dbc41d
feat(zod-openapi): add support for defaultHook in initializer (#170)
* feat: add support for defaultHook in initializer

* update README
2023-09-26 17:09:02 +09:00
Yusuke Wada fb63ef413c
fix(zod-openapi): multiple routes types correct for `hc` (#176)
* fix(zod-openapi): multiple routes types correct for `hc`

* changeset
2023-09-25 12:57:51 +09:00
Yusuke Wada 62a97fda6a
fix(zod-openapi): use `z.output` for types after validation (#164)
* fix(zod-openapi): use `z.output` for types after validation

* changeset
2023-09-20 06:15:33 +09:00
Mike Stop Continues 430088e175
[zod-openapi] Merge subapps' definitions into main app (#153)
* feat(zod-openapi): support `init` object

* feat(zod-openapi): support `v3.1` spec output

* feat(zod-openapi): Merge subapps' definitions
2023-09-12 08:25:41 +09:00
Yusuke Wada 804caac191
fix(zod-openapi): support multiple params (#155)
* fix(zod-openapi): support multiple params

* changeset
2023-09-11 11:44:47 +09:00
Yusuke Wada f334e99251
feat(zod-openapi): supports `headers` and `cookies` (#141)
* feat(zod-openapi): supports `headers` and `cookies`

* `ZodAny` is not used

* update readme

* changeset
2023-08-25 00:55:16 +09:00
Yusuke Wada 991b85915a
fix(zod-openapi): bump up Hono (#139)
* fix(zod-openapi): bump up Hono

* fix dependencies

* changeset
2023-08-24 17:10:26 +09:00
Yusuke Wada 2dbc823b29
fix(zod-openapi): fix path param format `:id` to `{id}` (#132)
* fix(zod-openapi): fix path param format `:id` to `{id}`

* changeset
2023-08-23 11:43:59 +09:00
Yusuke Wada 6d089751fd
fix(zod-openapi) tweak (#126)
* fix tests

* update readme
2023-08-19 16:07:59 +09:00
Yusuke Wada e6b20c64b6
feat(zod-openapi): support RPC-mode (#124)
* feat(zod-openapi): support RPC-mode

* changeset

* update readme
2023-08-19 10:40:55 +09:00
Yusuke Wada 7b898034a5
feat: zod-openapi (#118)
* wip

* wip

* update readme

* changeset

* nohoist

* fixed CI
2023-08-19 02:43:36 +09:00