akineko
akineko
When multiple response definitions are specified for an API, it seems to result in an error if there are differences in the schema. ok ```ts const app = new OpenAPIHono()...
I fixed, Adding a response without content. example ```ts const app = new OpenAPIHono() .openapi(createRoute({ method: 'get', path: '/users', responses: { 200: { description: 'users', content: { 'application/json': { schema:...
Hi @OxYz0n3 Your problem can be solved using RouteHandler. ```ts import { createRoute, OpenAPIHono, type RouteHandler } from '@hono/zod-openapi' const route = createRoute(...) const handler: RouteHandler = (c) => {...