Skip to content

fix: use correct OpenAPI v3.1.x document#220

Open
madkarmaa wants to merge 1 commit intodevfrom
fix/openapi-version
Open

fix: use correct OpenAPI v3.1.x document#220
madkarmaa wants to merge 1 commit intodevfrom
fix/openapi-version

Conversation

@madkarmaa
Copy link
Member

@madkarmaa madkarmaa requested a review from oSumAtrIX March 23, 2026 14:12
@madkarmaa madkarmaa self-assigned this Mar 23, 2026
Copilot AI review requested due to automatic review settings March 23, 2026 14:12
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the OpenAPI document route to use the OpenAPI v3.1-specific handler from @hono/zod-openapi, aligning runtime behavior with the already-declared openapi: '3.1.0' document version.

Changes:

  • Switches the OpenAPI route registration from _app.doc(...) to _app.doc31(...) for the /v{apiVersion}/openapi endpoint.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants