Commit Graph

109 Commits (7375c096b51b3e050cc808c29f5d122c028e4291)

Author SHA1 Message Date
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
Yusuke Wada 1b641bee14 chore(zod-openapi): fixed the dependencies 2024-06-01 11:45:03 +09:00
github-actions[bot] 0996475ab3
Version Packages (#554) 2024-06-01 11:40:07 +09:00
github-actions[bot] 30cee0c482
Version Packages (#540) 2024-05-23 22:06:31 +09:00
taku-hatano a595e4e260
feat(zod-openapi): extract range definitions to StatusCode (#535)
* fix: extract range definitions to StatusCode

* docs: add minor changeset
2024-05-23 22:01:05 +09:00
github-actions[bot] 1d5c467d5f
Version Packages (#533) 2024-05-20 07:13:58 +09:00
akineko eeccd4fc2f
feat(zod-openapi): export RouteConfig type (#532)
Fixes #432

* feat(zod-openapi): export RouteConfig type

* add .changeset/itchy-glasses-smell.md
2024-05-20 07:11:02 +09:00
github-actions[bot] 680176d508
Version Packages (#530) 2024-05-19 01:01:25 +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
github-actions[bot] 44766bff2f
Version Packages (#523) 2024-05-15 17:56:40 +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
github-actions[bot] c5001c01e7
Version Packages (#520) 2024-05-15 10:08:59 +09:00
Yusuke Wada b03484ba05
feat(zod-openapi): support "status code" (#519)
* feat(zod-openapi): support "status code"

* add changeset and tweak

* fixed lock file
2024-05-15 10:06:11 +09:00
github-actions[bot] 16e3784d50
Version Packages (#512) 2024-05-11 18:26:21 +09:00
taku-hatano 88113fae8b
fix(zod-openapi): add Promise<void> to Hook (#510)
* fix(zod-openapi): add Promise<void> to Hook

* add changeset
2024-05-11 18:21:21 +09:00
Yusuke Wada 7ab462dbc4
refactor: format (#497) 2024-05-04 11:33:29 +09:00
github-actions[bot] 96703ff823
Version Packages (#447) 2024-04-11 19:19:48 +09:00
Roman Nabukhotnyi 4660092b9a
feat(zod-openapi): Add 'middleware' property for route (#435)
* feat: Add 'middlewares' property for route

* fix: Rename `middlewares` to `middleware`

* fix: Update README.md

* fix: Fix changeset
2024-04-11 19:16:12 +09:00
github-actions[bot] 56b11664ec
Version Packages (#446) 2024-04-11 14:49:29 +09:00
Fumiaki Kinoshita 110e272460
fix(zod-openapi): make getRoutingPath non-enumerable (#445)
* zod-openapi: make getRoutingPath non-enumerable

This prevents potential serialisation errors (e.g. yaml's `stringify`) of the return value of getOpenAPIDocument

* .changeset: add an entry for #445
2024-04-11 14:28:53 +09:00
github-actions[bot] b865bb7ca4
Version Packages (#444) 2024-04-07 19:25: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
github-actions[bot] c56b22f15a
Version Packages (#438) 2024-03-29 14:27:28 +09:00
Yusuke Wada 9fc8591960
fix(zod-openapi): bump `@hono/zod-validator` (#437)
* fix(zod-openapi): bump `@hono/zod-validator`

* add changeset
2024-03-29 14:22:18 +09:00
github-actions[bot] e6171707c6
Version Packages (#430) 2024-03-22 17:29:47 +09:00
David b1f8a5325c
fix(zod-openapi): BasePath not included in client types (#429)
fixes #428
2024-03-22 17:23:53 +09:00
github-actions[bot] 053b2d5143 Version Packages (#413) 2024-03-06 19:49:29 +09:00
github-actions[bot] d776ada43a
Version Packages (#409) 2024-03-05 06:57:18 +09:00
David Havl d4ca1ce98f
fix(zod-openapi): Fix basePath method to transfer defaultHook of the parent app. (#408)
* Fix basePath method to transfer defaultHook of the parent app.

* Revert back variable typing

* Add changeset for @hono/zod-openapi
2024-03-05 06:53:44 +09:00
Sacramentix 3789037401
opanapi -> openapi (#378) 2024-02-05 06:36:50 +09:00
Yusuke Wada e8b494b207
chore: add lint rule and format (#367)
* chore: add lint rule and format

* fix ci

* add typescript

* yarn install

* add `@cloudflare/workers-types`
2024-01-29 22:53:43 +09:00
github-actions[bot] 64988bc7e8
Version Packages (#357) 2024-01-25 08:39:11 +09:00
Yusuke Wada 168a0a6d68
fix(zod-openapi): handle `Conflicting names for parameter` (#356)
* fix(zod-openapi): handle `Conflicting names for parameter`

* add changeset
2024-01-25 08:36:58 +09:00
dennistruemper 6bf91e1908
docs(zod-openapi): update readme to show new security schema usage (#353)
* update readme to show new security schema usage

* fix namein registerComponent to Bearer
2024-01-22 05:39:02 +09:00
Sor4chi 009cc77cf5
docs: replace jsonT with json (#328) 2023-12-29 04:25:02 +09:00
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