You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Requesting to add a new function createWebHook() to define and register a webhook endpoint instead of paths.
Caution
I couldn't manage to parse zod schemas for webhooks, even though I used app.OpenAPIRegistry.... still it doesn't recognize the request/response schemas from our passed zod schemas.
createRoute works fine for all but if OAS UIs (e.g. Scalar, Swagger, etc.) cannot recognize our openapi specs for webhooks, then its not a good feeling at all.
We would like to have OAS 3.1+ specs generation that can include proper webhooks instead of using paths via createRoute for all.