How can I programatically get a list of public methods w/parameters that are exposed in my webAPI project? I need to provide this list to our QA dept. I dont want to compile and maintain the list myself. I want to provide a link for QA to find the methods on their own. I need something like what you get when you browse to an .asmx file.
ASP.NET Web API lets you create a help page automatically. That help pages documents all endpoints provided by your API. Please refer to this blog post: Creating Help Pages for ASP.NET Web API.
You can, of course, create an entirely custom documentation by leveraging the IApiExplorer
interface.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With