如何在Web api帮助页面区域中放置标题

时间:2015-05-11 13:05:02

标签: asp.net-mvc asp.net-web-api asp.net-web-api-helppages

我在服务器上点了一个api调用,我在其中传递了标题Content-type。

现在在web api帮助页面上文档希望显示在进行web api调用时传递此Headers

将以下代码放在方法的文档中。

但是如何在这个xml Documnet中传递标题?

    /// <summary>
    ///Register the User with Device Info Which are Coming From Facebook and Twitter 
    /// </summary>
    /// <param name="device">Device Info from which the user is logged in</param>
    /// <author>Dhruti Shah</author>
    /// <returns>Device</returns>

0 个答案:

没有答案
相关问题