@using System.Web.Http @using System.Web.Http.Description @using Authentication_test.Areas.HelpPage.Models @using Authentication_test.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) {