DGCP3
Explore posts from serversTTCTheo's Typesafe Cult
•Created by DGCP3 on 9/26/2024 in #questions
How to add swagger to hono api
I want to add a swagger doc to my API and when I add middleware to any new OpenAPIHono instance the ".openapi" method disappears.
this is my factory method. the instance returned doesn't have ".openapi' on it so I can pass my schema returned by createRoute().
20 replies
Adding swagger to hono API
I want to add a swagger doc to my API and when I add middleware to any new OpenAPIHono instance the .openapi method disappears.
this is my factory method. the instance returned doesn't have
.openapi
, so I can pass my schema returned by createRoute().4 replies
PPrisma
•Created by DGCP3 on 7/26/2024 in #help-and-questions
Prisma optimize showing error page
14 replies
TTCTheo's Typesafe Cult
•Created by DGCP3 on 7/24/2024 in #questions
how to make c.get("jwtPayload") type safe in hono
how to add type to jwt payload in hono js
20 replies