Last post Sep 08, 2015 07:04 AM by PatriceSc
Sep 08, 2015 04:56 AM|AsadShahid|LINK
Using Reflections query get all methods with specific signature including parameters, parameter annotations and return type
Sep 08, 2015 05:08 AM|XIII|LINK
there's a nuget package which you can install to do this, it even has a tester app that it plugs in into your application for easy testing:
https://github.com/yaohuang/WebApiTestClient. To read more about it:
If you want something of your own then likely that code base is a good place to start from.
Update: you can also make use of Swashbuckle:
https://www.nuget.org/packages?q=Swashbuckle. Also take a look here on how to use it:
Sep 08, 2015 07:04 AM|PatriceSc|LINK
Or try perhaps
http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/creating-api-help-pages and in particular scroll down to the end (reusing the ApiExplorer class might be an option).
Edit: this is likely anyway what is used by the above response. It is about the same guy which seems the expert in this field.