Flipvh
Flipvh
HHono
Created by Flipvh on 8/20/2024 in #help
Scalar, hono and hono/zod-openapi
Scalar documentation was working great in my projectuntil a while ago, now I suddenly get
{
"message": "Unknown zod object type, please specify `type` and other OpenAPI props using `ZodSchema.openapi`.",
"data": {
"currentSchema": {
"typeName": "ZodLazy"
}
}
}
{
"message": "Unknown zod object type, please specify `type` and other OpenAPI props using `ZodSchema.openapi`.",
"data": {
"currentSchema": {
"typeName": "ZodLazy"
}
}
}
Anybody else using Scalar and hono/zod-openapi middleware? It mightbe connected to this issue, but not sure: https://github.com/honojs/middleware/issues/660
1 replies