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
@mies hit an issue with Hono-Zod-OpenAPI where we wouldn't show docs for a response because our zod schema rejected a response that didn't have a description along with it
Technically the current schema is in line with what OpenAPIHono expects - it will show a type error in your app if you don't provide a description for the response... however, it could be funky for end users to not see a Docs tab show up for their route.
The text was updated successfully, but these errors were encountered:
Code:
fpx/packages/types/src/openapi.ts
Line 36 in 07c4a09
@mies hit an issue with Hono-Zod-OpenAPI where we wouldn't show docs for a response because our zod schema rejected a response that didn't have a description along with it
Technically the current schema is in line with what
OpenAPIHono
expects - it will show a type error in your app if you don't provide a description for the response... however, it could be funky for end users to not see a Docs tab show up for their route.The text was updated successfully, but these errors were encountered: