Skip to content

Enhanced openAPIRouteHandler middleware loses components.schemas #168

@vladshcherbin

Description

@vladshcherbin

For some reason enhanced openAPIRouteHandler loses components.schemas data on page reload:

app.get('/openapi.json', (context, next) => {
  const handler = openAPIRouteHandler(app)

  return handler(context, next)
})
Screen.Recording.2025-09-15.at.16.09.31.mov

hono-openapi 1.0.6

repo - https://github.com/vladshcherbin/h-open/tree/specs-handler

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions