Skip to content
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

[zod-openapi] Unable to register endpoints with HEAD method #693

Open
marvinruder opened this issue Aug 15, 2024 · 0 comments
Open

[zod-openapi] Unable to register endpoints with HEAD method #693

marvinruder opened this issue Aug 15, 2024 · 0 comments

Comments

@marvinruder
Copy link

When registering a method using

app.openapi(
  createRoute({
    method: "head",

the method is not registered properly and HEAD requests are responded to with 404 Not Found. This is likely caused by honojs/hono#1142 (related: honojs/hono#1130).

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

No branches or pull requests

1 participant