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
And @... unfortunately changes to path-to-regexp broke this lib in both express@>=4.20.0 and express@5. I am going to be working on fixes for that soon.
There is some work happening to expose a new router.getRoutes() API in pillarjs/router
It would simplify or allow us to get rid of iterateStack in generate-doc.js. That would be in addition to getting rid of the functions split and processComplexMatch as Express 5 does not support regex routes.
Activity
halfstack-dev commentedon Mar 14, 2025
Just saw it mentioned here as well:
#64 (comment)
enov commentedon Aug 27, 2025
There is some work happening to expose a new
router.getRoutes()API in pillarjs/routerIt would simplify or allow us to get rid of
iterateStackingenerate-doc.js. That would be in addition to getting rid of the functionssplitandprocessComplexMatchas Express 5 does not support regex routes.