+
@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")
+ }
+
+
\ No newline at end of file
diff --git a/sources/metrics/Stride.Metrics.ServerApp/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml b/sources/metrics/Stride.Metrics.ServerApp/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml
new file mode 100644
index 0000000000..33347cbfaa
--- /dev/null
+++ b/sources/metrics/Stride.Metrics.ServerApp/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml
@@ -0,0 +1,4 @@
+@using Stride.Metrics.ServerApp.Areas.HelpPage
+@model ImageSample
+
+Sample not available.
+}
\ No newline at end of file
diff --git a/sources/metrics/Stride.Metrics.ServerApp/Areas/HelpPage/Views/Help/DisplayTemplates/KeyValuePairModelDescription.cshtml b/sources/metrics/Stride.Metrics.ServerApp/Areas/HelpPage/Views/Help/DisplayTemplates/KeyValuePairModelDescription.cshtml
new file mode 100644
index 0000000000..1601594f66
--- /dev/null
+++ b/sources/metrics/Stride.Metrics.ServerApp/Areas/HelpPage/Views/Help/DisplayTemplates/KeyValuePairModelDescription.cshtml
@@ -0,0 +1,4 @@
+@using Stride.Metrics.ServerApp.Areas.HelpPage.ModelDescriptions
+@model KeyValuePairModelDescription
+Pair of @Html.DisplayFor(m => Model.KeyModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.KeyModelDescription }) [key]
+and @Html.DisplayFor(m => Model.ValueModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.ValueModelDescription }) [value]
\ No newline at end of file
diff --git a/sources/metrics/Stride.Metrics.ServerApp/Areas/HelpPage/Views/Help/DisplayTemplates/ModelDescriptionLink.cshtml b/sources/metrics/Stride.Metrics.ServerApp/Areas/HelpPage/Views/Help/DisplayTemplates/ModelDescriptionLink.cshtml
new file mode 100644
index 0000000000..60c3a5d22a
--- /dev/null
+++ b/sources/metrics/Stride.Metrics.ServerApp/Areas/HelpPage/Views/Help/DisplayTemplates/ModelDescriptionLink.cshtml
@@ -0,0 +1,26 @@
+@using Stride.Metrics.ServerApp.Areas.HelpPage.ModelDescriptions
+@model Type
+@{
+ ModelDescription modelDescription = ViewBag.modelDescription;
+ if (modelDescription is ComplexTypeModelDescription || modelDescription is EnumTypeModelDescription)
+ {
+ if (Model == typeof(Object))
+ {
+ @:Object
+ }
+ else
+ {
+ @Html.ActionLink(modelDescription.Name, "ResourceModel", "Help", new { modelName = modelDescription.Name }, null)
+ }
+ }
+ else if (modelDescription is CollectionModelDescription)
+ {
+ var collectionDescription = modelDescription as CollectionModelDescription;
+ var elementDescription = collectionDescription.ElementDescription;
+ @:Collection of @Html.DisplayFor(m => elementDescription.ModelType, "ModelDescriptionLink", new { modelDescription = elementDescription })
+ }
+ else
+ {
+ @Html.DisplayFor(m => modelDescription)
+ }
+}
\ No newline at end of file
diff --git a/sources/metrics/Stride.Metrics.ServerApp/Areas/HelpPage/Views/Help/DisplayTemplates/Parameters.cshtml b/sources/metrics/Stride.Metrics.ServerApp/Areas/HelpPage/Views/Help/DisplayTemplates/Parameters.cshtml
new file mode 100644
index 0000000000..0a3f95dd3b
--- /dev/null
+++ b/sources/metrics/Stride.Metrics.ServerApp/Areas/HelpPage/Views/Help/DisplayTemplates/Parameters.cshtml
@@ -0,0 +1,48 @@
+@using System.Collections.Generic
+@using System.Collections.ObjectModel
+@using System.Web.Http.Description
+@using System.Threading
+@using Stride.Metrics.ServerApp.Areas.HelpPage.ModelDescriptions
+@model IList