From 1211a8fc055ad4f85c8679ed753827dee751c749 Mon Sep 17 00:00:00 2001 From: Rick Butterfield Date: Wed, 28 Aug 2024 13:59:56 +0100 Subject: [PATCH] Add param types --- .../Controllers/BlockPreviewApiController.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Community.BlockPreview/Controllers/BlockPreviewApiController.cs b/src/Umbraco.Community.BlockPreview/Controllers/BlockPreviewApiController.cs index bfb86bc..659ebec 100644 --- a/src/Umbraco.Community.BlockPreview/Controllers/BlockPreviewApiController.cs +++ b/src/Umbraco.Community.BlockPreview/Controllers/BlockPreviewApiController.cs @@ -52,12 +52,13 @@ public BlockPreviewApiController( /// Renders a preview for a grid block using the associated Razor view or ViewComponent. /// /// The JSON content data of the block. + /// The that represents the Umbraco node. /// The alias of the block editor /// The alias of the content being rendered /// The current culture - /// The that represents the Umbraco node + /// The that represents the Umbraco node content type /// The that represents the content element - /// The that represents the settings element + /// The that represents the settings element /// The markup to render in the preview. [HttpPost] [ProducesResponseType(typeof(string), 200)] @@ -97,9 +98,11 @@ public async Task PreviewGridBlock( /// Renders a preview for a list block using the associated Razor view or ViewComponent. /// /// The JSON content data of the block. + /// The that represents the Umbraco node. /// The alias of the block editor /// The alias of the content being rendered /// The current culture + /// The that represents the Umbraco node content type /// The markup to render in the preview. [HttpPost] [ProducesResponseType(typeof(string), 200)] @@ -139,9 +142,11 @@ public async Task PreviewListBlock( /// Renders a preview for a rich text block using the associated Razor view or ViewComponent. /// /// The JSON content data of the block. + /// The that represents the Umbraco node. /// The alias of the block editor /// The alias of the content being rendered /// The current culture + /// The that represents the Umbraco node content type /// The markup to render in the preview. [HttpPost] [ProducesResponseType(typeof(string), 200)]