Docs indicate that openapi.schema should exist
|
const schema = openAPI.schema |
For context I am trying to pass it to Scalar's createMarkdownFromOpenApi like so:
const openapi = fromHono(app, {...})
app.get("/llms.txt", async (c) => {
return c.text(await createMarkdownFromOpenApi(JSON.stringify(openapi.schema)))
})
Docs indicate that
openapi.schemashould existchanfana/docs/examples-and-recipes.md
Line 730 in 270536a
For context I am trying to pass it to Scalar's
createMarkdownFromOpenApilike so: