From here:
[http://stackoverflow.com/questions/15410057/webapi-help-page-for-complex-type-in-uri](http://stackoverflow.com/questions/15410057/webapi-help-page-for-complex-type-in-uri)
Repro:
Copy the following class and enable Xml documentation on the project settings and also in HelPage's HelpPageConfig.cs
```
using System.Web.Http;
namespace MvcApplication31.Controllers
{
public class UsersController : ApiController
{
public class Preferences
{
public string Theme { get; set; }
public string Size { get; set; }
}
/// <summary>
/// Saves users' preferences
/// </summary>
/// <param name="pref">Preferences of the user</param>
public string SavePreferences(Preferences pref)
{
return "value";
}
}
}
```
Actual: "No Documentation Available"
Expected: comments specified for the action.
[http://stackoverflow.com/questions/15410057/webapi-help-page-for-complex-type-in-uri](http://stackoverflow.com/questions/15410057/webapi-help-page-for-complex-type-in-uri)
Repro:
Copy the following class and enable Xml documentation on the project settings and also in HelPage's HelpPageConfig.cs
```
using System.Web.Http;
namespace MvcApplication31.Controllers
{
public class UsersController : ApiController
{
public class Preferences
{
public string Theme { get; set; }
public string Size { get; set; }
}
/// <summary>
/// Saves users' preferences
/// </summary>
/// <param name="pref">Preferences of the user</param>
public string SavePreferences(Preferences pref)
{
return "value";
}
}
}
```
Actual: "No Documentation Available"
Expected: comments specified for the action.