Is there a way to use OpenApiHono with the handle of hono/aws-lambda? #3591
albertovasquez
started this conversation in
General
Replies: 1 comment 1 reply
-
I'm not using AWS Lambda, const oapiApp = new OpenAPIHono()
const app = new Hono()
oapiApp.doc('/openapi.json', {
...your openapi schema
})
app.get('/openapi.json', (c) => oapiApp.request('/openapi.json'))
export default app |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Something like this?
Beta Was this translation helpful? Give feedback.
All reactions