@using System.Web.Http @using System.Web.Http.Description @using WebAPI.Areas.HelpPage.Models @using WebAPI.Areas.HelpPage.ModelDescriptions @model HelpPageApiModel @{ ApiDescription description = Model.ApiDescription; }
@description.Documentation
@Model.RequestDocumentation
@if (Model.RequestModelDescription != null) { @Html.DisplayFor(m => m.RequestModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.RequestModelDescription }) if (Model.RequestBodyParameters != null) { @Html.DisplayFor(m => m.RequestBodyParameters, "Parameters") } } else {None.
} @if (Model.SampleRequests.Count > 0) {@description.ResponseDescription.Documentation
@if (Model.ResourceDescription != null) { @Html.DisplayFor(m => m.ResourceDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.ResourceDescription }) if (Model.ResourceProperties != null) { @Html.DisplayFor(m => m.ResourceProperties, "Parameters") } } else {None.
} @if (Model.SampleResponses.Count > 0) {