You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🔧 fix: use getFlattenedRoutes() to include guard() schemas in OpenAPI spec
Fixes guard() schemas not appearing in generated OpenAPI documentation.
Changes:
- Replace app.getGlobalRoutes() with app.getFlattenedRoutes?.() ?? app.getGlobalRoutes()
- Maintains backward compatibility with older Elysia versions
This allows the OpenAPI plugin to access guard() schemas that are now
exposed via Elysia's getFlattenedRoutes() method.
Requires: elysiajs/elysia#1533
0 commit comments