H
Hono4mo ago
Flipvh

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
GitHub
Zod-OpenAPI returns ZodError - when query param field is `z.array()...
Hi there 👋 . I face the following situation where Zod-OpenAPI would return a ZodError - saying it expects a string, instead of an array when I only query by 1 value. (Note: I did have a work around...
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server