Commit Graph

173 Commits (4d67af162fbdaa75484eccae5dc4fad44ff2dab0)

Author SHA1 Message Date
github-actions[bot] 729c42067d
Version Packages (#317) 2023-12-16 15:37:45 +09:00
Yusuke Wada 5eeb555c89
fix(zod-openapi): supports named params in nested routes (#316)
* fix(zod-openapi): supports named params in nested routes

* changeset

* github works fine?

* fixed
2023-12-16 15:35:36 +09:00
github-actions[bot] 28a8dfa312
Version Packages (#315) 2023-12-16 10:41:30 +09:00
Luis Bizarro b8219d9b68
fix(zod-openapi): Export Hook in @hono/zod-openapi (#313) 2023-12-16 10:39:13 +09:00
Yusuke Wada ee12e3c08a
chore: bump hono to `3.11.7` (#311) 2023-12-14 18:33:01 +09:00
Yusuke Wada a03e133d42
chore: setup prettier (#301)
* changeset

* chore: setup prettier
2023-12-13 17:31:25 +09:00
Yusuke Wada 5403955ef6
chore: enable `eslint` and remove `denoify` (#300)
* changeset

* chore: enable `eslint` and remove `denoify`
2023-12-13 17:22:53 +09:00
Yusuke Wada bd18b966ee
chore: migrate to `yarn v4` (#299)
* changeset

* chore: migrate to `yarn v4`

* remove changeset

* fixed Github Actions for `hello`

* fix gitignore

* add dependencies

* add ci for oauth-providers

* add dependencies

* add `publint`

* update msw
2023-12-13 15:54:00 +09:00
Sor4chi 80f46a4c40
docs: add "how to register schema with refs" (#294) 2023-12-07 21:31:03 +09:00
github-actions[bot] 186ce0db8e
Version Packages (#293) 2023-12-07 09:57:45 +09:00
Yusuke Wada 7ded22a57e
fix(zod-openapi): bump Hono for `peerDependencies` and add tests (#292)
* changeset

* fix(zod-openapi): bump `Hono` for `peerDependencies` and add tests

* remove changeset

* changeset
2023-12-07 09:55:42 +09:00
David Manouchehri 848693c041
docs(zod-openapi): Use origin for zod-openapi example, not hostname. (#291) 2023-12-07 09:04:52 +09:00
github-actions[bot] f8027e1bd2
Version Packages (#289) 2023-12-05 18:17:37 +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
github-actions[bot] 7cd3fd40c8
Version Packages (#288) 2023-12-04 22:25:01 +09:00
Yusuke Wada 1568b920de
fix(zod-openapi): Strict type checking of return values (#287)
* changeset

* fix(zod-openapi): Strict type checking of return values

* bump hono `v3.11.1`

* remove changeset

* add changeset
2023-12-04 22:23:15 +09:00
github-actions[bot] 4aa5f67c1b
Version Packages (#278) 2023-11-28 14:44:36 +09:00
Karibash d4aa8ec5ad
feat(zod-openapi): Make context accessible in the doc route (#272)
* feat(zod-openapi): Make context accessible in the doc route

* docs(zod-openapi): Fix typo

* docs(zod-openapi): Add a tips to the README.md on how to access the context in app.doc
2023-11-28 14:41:14 +09:00
Sor4chi f14f0c8cf5
docs(zod-openapi): add components registoration and auth configutation tips (#271)
* docs(zod-openapi): update README

* docs(zod-openapi): add custom components reference of Zod OpenAPI
2023-11-21 16:58:48 +09:00
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
github-actions[bot] a43558b2d6
Version Packages (#263) 2023-11-18 06:10:41 +09:00
Karibash ba83a268e0
feat(zod-openapi): Make it possible to do method chaining even for do… (#260)
* feat(zod-openapi): Make it possible to do method chaining even for doc methods

* fix: Fix incorrect generics type specification
2023-11-18 06:04:56 +09:00
github-actions[bot] 4c5b5be848
Version Packages (#259) 2023-11-16 19:26:44 +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
github-actions[bot] 53cd5f7bec
Version Packages (#256) 2023-11-16 06:36:27 +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
Karibash 129f4680a2
fix(zod-openapi): Fix incorrect specification of the exports field in package.json (#255) 2023-11-16 06:27:56 +09:00
github-actions[bot] b8076dfb47
Version Packages (#223) 2023-10-31 19:23:37 +09:00
Yusuke Wada 73ab82a902
fix(zod-openapi): import types correctly (#222)
* fix(zod-openapi): import types correctly

* changeset
2023-10-31 19:17:34 +09:00
github-actions[bot] 3633efd1de
Version Packages (#218) 2023-10-30 06:46:28 +09:00
Yusuke Wada a80c84ba07
fix(zod-openapi): bump Hono for `peerDependencies` (#217) 2023-10-30 06:35:00 +09:00
github-actions[bot] 90d3e84831
Version Packages (#212) 2023-10-26 17:51:09 +09:00
Yusuke Wada 6ca8e8d8de
fix(zod-openapi): relax input types (#211)
* fix(zod-openapi): relax input types

* changeset
2023-10-26 17:49:10 +09:00
github-actions[bot] d7a703b556
Version Packages (#207) 2023-10-22 12:08:10 +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
github-actions[bot] b77369e6f1
Version Packages (#190) 2023-10-04 23:46:25 +00:00
Yusuke Wada 58167f3b7f
fix(zod-openapi): publish as cjs by default (#189)
* fix(zod-openapi): publish as cjs by default

* changeset
2023-10-04 23:40:56 +00:00
github-actions[bot] b96e7f25ce
Version Packages (#183) 2023-09-29 06:18:32 +09:00
Nico Franke 9aefddc45d
fix(zod-openapi): properly convert openapi path type to hono (#182)
* fix: properly convert openapi path type to hono

* chore: add changeset
2023-09-29 06:08:26 +09:00
github-actions[bot] d4ae60d489
Version Packages (#177) 2023-09-26 17:21:38 +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
github-actions[bot] fd4aa8754e
Version Packages (#169) 2023-09-22 06:01:38 +09:00
Jakob Bergström (NotoriousSledge) dbebf747c9
feat: Zod-Openapi-Middleware: Export types to allow handlers and hooks to be declared in more places. (#167)
* Exported Handler and Hook types

* Performed changeset
2023-09-22 05:59:22 +09:00
github-actions[bot] a8747ab6fe
Version Packages (#165) 2023-09-20 06:18:58 +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
github-actions[bot] 55373edb67
Version Packages (#162) 2023-09-19 08:26:24 +09:00
naporitan 05b8e9a751
feat: Add `getRoutingPath` to the return value of `createRoute`. (#161)
* feat(zod-openapi): add getRoutingPath

* feat(zod-openapi): add docs

* feat(zod-openapi): add versioning doc
2023-09-19 08:24:10 +09:00
github-actions[bot] 752e6b2fd3
Version Packages (#157) 2023-09-12 08:32:02 +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
github-actions[bot] ec3beefd63
Version Packages (#156) 2023-09-11 11:47:16 +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
github-actions[bot] be7d4a6916
Version Packages (#149) 2023-09-05 19:01:34 +09:00
Yusuke Wada 1006cbca6b
feat(zod-openapi): make `app.openAPIRegistry` public (#150)
* feat(zod-openapi): make `app.openAPIRegistry` public

* changeset
2023-09-05 18:55:09 +09:00
Yusuke Wada 1bfd648df8
fix(zod-openapi): fix the type error (#148)
* fix(zod-openapi): fix the type error

* changeset
2023-09-05 18:34:58 +09:00
Yusuke Wada 7fdc882e7c docs(zod-openapi): update readme 2023-08-27 09:30:05 +09:00
github-actions[bot] 5f3ef12c95
Version Packages (#142) 2023-08-25 00:59:57 +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
github-actions[bot] 68ef99cffc
Version Packages (#140) 2023-08-24 22:04:00 +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 889338f3c7 docs(zod-openapi): update the readme 2023-08-23 11:49:32 +09:00
github-actions[bot] 1bcd9624b1
Version Packages (#133) 2023-08-23 11:46:53 +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 1246289eeb typo 2023-08-19 23:55:27 +09:00
Yusuke Wada 6d089751fd
fix(zod-openapi) tweak (#126)
* fix tests

* update readme
2023-08-19 16:07:59 +09:00
github-actions[bot] 5c22474098
Version Packages (#125) 2023-08-19 10:46:02 +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 27a0c13ae4
docs(zod-openapi): update readme (#123) 2023-08-19 10:31:58 +09:00
github-actions[bot] 5e9f4f55a4
Version Packages (#122) 2023-08-19 02:54:34 +09:00
Yusuke Wada 1233c00875
docs: fixed readme (#121)
* docs: fixed readme

* changeset
2023-08-19 02:50:37 +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