Environment: Vs2013+web API 2
Issue: The new Web API 2 project, which is created by default, displays information about the API under the Help page, but the description column does not have access to the data, as shown in:
Solve:
1. Enable the output XML document file first:
On the Web API project, right-click Properties, under the "Generate" tab of the property page, tick the output below "XML document file" as shown in:
2. In the solution manager, hit HelpPageConfig.cs, remove the Setdocumentationprovider method, and change the address to correspond to 1, as shown in:
3. Add a comment to the API as shown in:
Run the project again, open the API help page and you'll see the effect as shown in:
Reference: ASP. NET Web API help Page documentation using XML comments on controllers
Enable API description information in Webapi 2 (description under Help)