14 | @Html.ActionLink("Help Page Home", "Index") 15 |
16 |@controllerDocumentation
18 | } 19 |API | Description |
---|---|
@api.HttpMethod.Method @api.RelativePath | 28 |
29 | @if (api.Documentation != null)
30 | {
31 | @api.Documentation 32 | } 33 | else 34 | { 35 |No documentation available. 36 | } 37 | |
38 |
@description.Documentation
16 | } 17 | else 18 | { 19 |No documentation available.
20 | } 21 | 22 | @if (hasParameters || hasRequestSamples) 23 | { 24 |@description.ResponseDescription.Documentation
43 | } 44 | else 45 | { 46 |No documentation available.
47 | } 48 |Sample not available.
13 | } -------------------------------------------------------------------------------- /SignalrWebService/Areas/HelpPage/Views/Help/DisplayTemplates/Parameters.cshtml: -------------------------------------------------------------------------------- 1 | @using System.Collections.ObjectModel 2 | @using System.Web.Http.Description 3 | @using System.Threading 4 | @model CollectionName | Description | Additional information |
---|---|---|
@parameter.Name | 24 |@parameterDocumentation |
25 |
26 | @switch (parameter.Source)
27 | {
28 | case ApiParameterSource.FromBody:
29 | Define this parameter in the request body. 30 | break; 31 | case ApiParameterSource.FromUri: 32 |Define this parameter in the request URI. 33 | break; 34 | case ApiParameterSource.Unknown: 35 | default: 36 |None. 37 | break; 38 | } 39 | |
40 |
Sample not available.
22 | } 23 | else 24 | { 25 | @Html.DisplayFor(s => sample); 26 | } 27 | } 28 |5 | @Model.Text 6 |-------------------------------------------------------------------------------- /SignalrWebService/Areas/HelpPage/Views/Help/Index.cshtml: -------------------------------------------------------------------------------- 1 | @using System.Web.Http 2 | @using System.Web.Http.Controllers 3 | @using System.Web.Http.Description 4 | @using System.Collections.ObjectModel 5 | @using SignalrWebService.Areas.HelpPage.Models 6 | @model Collection
27 | Provide a general description of your APIs here. 28 |
29 |14 | @Html.ActionLink("Help Page Home", "Index") 15 |
16 |@controllerDocumentation
18 | } 19 |API | Description |
---|---|
@api.HttpMethod.Method @api.RelativePath | 28 |
29 | @if (api.Documentation != null)
30 | {
31 | @api.Documentation 32 | } 33 | else 34 | { 35 |No documentation available. 36 | } 37 | |
38 |
@description.Documentation
16 | } 17 | else 18 | { 19 |No documentation available.
20 | } 21 | 22 | @if (hasParameters || hasRequestSamples) 23 | { 24 |@description.ResponseDescription.Documentation
43 | } 44 | else 45 | { 46 |No documentation available.
47 | } 48 |Sample not available.
13 | } -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebApi.HelpPage.5.0.0/content/Areas/HelpPage/Views/Help/DisplayTemplates/Parameters.cshtml.pp: -------------------------------------------------------------------------------- 1 | @using System.Collections.ObjectModel 2 | @using System.Web.Http.Description 3 | @using System.Threading 4 | @model CollectionName | Description | Additional information |
---|---|---|
@parameter.Name | 24 |@parameterDocumentation |
25 |
26 | @switch (parameter.Source)
27 | {
28 | case ApiParameterSource.FromBody:
29 | Define this parameter in the request body. 30 | break; 31 | case ApiParameterSource.FromUri: 32 |Define this parameter in the request URI. 33 | break; 34 | case ApiParameterSource.Unknown: 35 | default: 36 |None. 37 | break; 38 | } 39 | |
40 |
Sample not available.
22 | } 23 | else 24 | { 25 | @Html.DisplayFor(s => sample); 26 | } 27 | } 28 |5 | @Model.Text 6 |-------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebApi.HelpPage.5.0.0/content/Areas/HelpPage/Views/Help/Index.cshtml.pp: -------------------------------------------------------------------------------- 1 | @using System.Web.Http 2 | @using System.Web.Http.Controllers 3 | @using System.Web.Http.Description 4 | @using System.Collections.ObjectModel 5 | @using $rootnamespace$.Areas.HelpPage.Models 6 | @model Collection
27 | Provide a general description of your APIs here. 28 |
29 |