@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.HttpMethod.Method @description.RelativePath

@description.Documentation

Request Information

URI Parameters

@Html.DisplayFor(m => m.UriParameters, "Parameters")

Body Parameters

@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) {

Request Formats

@Html.DisplayFor(m => m.SampleRequests, "Samples") }

Response Information

Resource Description

@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) {

Response Formats

@Html.DisplayFor(m => m.SampleResponses, "Samples") }