actix-web icon indicating copy to clipboard operation
actix-web copied to clipboard

way to get a list of registered services

Open dw-rs opened this issue 4 years ago • 9 comments

it doesn't currently look like there is a good way to get a list of registered services/endpoints. such functionality would be useful for creating index sites that list all endpoints (my usecase).

dw-rs avatar Mar 02 '22 17:03 dw-rs

Just my 2cts, but consider looking into the paperclip project, because they had to solve a similar problem in the past. There arguably should be a way to inspect the App instance anyway, since paperclip AFAIK achieves this by using codegen on the routes and related structs.

Chaostheorie avatar Mar 30 '22 14:03 Chaostheorie

Are there any plans to move this forward? I could take a look at it if wanted.

sagoez avatar Apr 26 '24 18:04 sagoez