-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add openAPI #13
Conversation
概要このアップデートでは、 変更点
詩
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
package-lock.json
is excluded by!**/package-lock.json
Files selected for processing (3)
- package.json (1 hunks)
- src/index.ts (1 hunks)
- src/router.ts (1 hunks)
Files skipped from review due to trivial changes (1)
- package.json
Additional comments not posted (2)
src/index.ts (2)
5-5
:OpenAPIHono
のインスタンスが正しく初期化されています。この変更により、APIのハンドリングが向上することが期待されます。
11-16
: APIドキュメントの設定が適切に行われています。このドキュメントにより、APIの利用者がより簡単にAPIを理解し、使用することができるようになります。
目的
このPull Requestの目的を記載します。
Zod OpenAPIを追加する
https://hono.dev/snippets/zod-openapi
方法
目的を達成するためにこのPull Requestで実施した内容を記載します。
検証
このPull Requestで実施した内容を検証する方法を記載します。
✅チェックリスト
Summary by CodeRabbit
新機能
GET
リクエストのルートパス/
でJSONレスポンスを返すようにしました。依存関係の更新
@hono/zod-openapi
、zod
を追加し、hono
を最新バージョンに更新しました。