@using System.Collections.ObjectModel @using System.Web.Http.Description @using System.Threading @model Collection @foreach (ApiParameterDescription parameter in Model) { string parameterDocumentation = parameter.Documentation != null ? parameter.Documentation : "No documentation available."; // Don't show CancellationToken because it's a special parameter if (parameter.ParameterDescriptor == null || (parameter.ParameterDescriptor != null && !typeof(CancellationToken).IsAssignableFrom(parameter.ParameterDescriptor.ParameterType))) { } }
NameDescriptionAdditional information
@parameter.Name
@parameterDocumentation
@switch (parameter.Source) { case ApiParameterSource.FromBody:

Define this parameter in the request body.

break; case ApiParameterSource.FromUri:

Define this parameter in the request URI.

break; case ApiParameterSource.Unknown: default:

None.

break; }