tommybananas / finale

Create flexible REST endpoints and controllers from Sequelize models in your Express app
188 stars 36 forks source link

List all registered routes/ end-point #4

Closed mubaidr closed 6 years ago

mubaidr commented 6 years ago

Is there anyway to get list of all registered models or even better routes (end-points)?

tommybananas commented 6 years ago

I'm sure there is a way, but it's not currently implemented. Would be a great task if anybody is up to it!

On Fri, Nov 17, 2017 at 1:15 AM, Muhammad Ubaid Raza < notifications@github.com> wrote:

Is there anyway to get list of all registered models or even better routes (end-points)?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tommybananas/finale/issues/4, or mute the thread https://github.com/notifications/unsubscribe-auth/ACELE6FqSFxGamqqAD_S__avdsx0VVLiks5s3TKagaJpZM4QhoiY .

mubaidr commented 6 years ago

This does not need any attention as ExpressJs has a way to get all registered routes via app._router.stack