Skip to content

Commit 1211a8f

Browse files
Add param types
1 parent e221e2d commit 1211a8f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/Umbraco.Community.BlockPreview/Controllers/BlockPreviewApiController.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,13 @@ public BlockPreviewApiController(
5252
/// Renders a preview for a grid block using the associated Razor view or ViewComponent.
5353
/// </summary>
5454
/// <param name="blockData">The JSON content data of the block.</param>
55+
/// <param name="nodeKey">The <see cref="Guid"/> that represents the Umbraco node.</param>
5556
/// <param name="blockEditorAlias">The alias of the block editor</param>
5657
/// <param name="contentElementAlias">The alias of the content being rendered</param>
5758
/// <param name="culture">The current culture</param>
58-
/// <param name="documentTypeUnique">The <see cref="Guid"/> that represents the Umbraco node</param>
59+
/// <param name="documentTypeUnique">The <see cref="Guid"/> that represents the Umbraco node content type</param>
5960
/// <param name="contentUdi">The <see cref="Cms.Core.Udi"/> that represents the content element</param>
60-
/// <param name="contentUdi">The <see cref="Cms.Core.Udi"/> that represents the settings element</param>
61+
/// <param name="settingsUdi">The <see cref="Cms.Core.Udi"/> that represents the settings element</param>
6162
/// <returns>The markup to render in the preview.</returns>
6263
[HttpPost]
6364
[ProducesResponseType(typeof(string), 200)]
@@ -97,9 +98,11 @@ public async Task<IActionResult> PreviewGridBlock(
9798
/// Renders a preview for a list block using the associated Razor view or ViewComponent.
9899
/// </summary>
99100
/// <param name="blockData">The JSON content data of the block.</param>
101+
/// <param name="nodeKey">The <see cref="Guid"/> that represents the Umbraco node.</param>
100102
/// <param name="blockEditorAlias">The alias of the block editor</param>
101103
/// <param name="contentElementAlias">The alias of the content being rendered</param>
102104
/// <param name="culture">The current culture</param>
105+
/// <param name="documentTypeUnique">The <see cref="Guid"/> that represents the Umbraco node content type</param>
103106
/// <returns>The markup to render in the preview.</returns>
104107
[HttpPost]
105108
[ProducesResponseType(typeof(string), 200)]
@@ -139,9 +142,11 @@ public async Task<IActionResult> PreviewListBlock(
139142
/// Renders a preview for a rich text block using the associated Razor view or ViewComponent.
140143
/// </summary>
141144
/// <param name="blockData">The JSON content data of the block.</param>
145+
/// <param name="nodeKey">The <see cref="Guid"/> that represents the Umbraco node.</param>
142146
/// <param name="blockEditorAlias">The alias of the block editor</param>
143147
/// <param name="contentElementAlias">The alias of the content being rendered</param>
144148
/// <param name="culture">The current culture</param>
149+
/// <param name="documentTypeUnique">The <see cref="Guid"/> that represents the Umbraco node content type</param>
145150
/// <returns>The markup to render in the preview.</returns>
146151
[HttpPost]
147152
[ProducesResponseType(typeof(string), 200)]

0 commit comments

Comments
 (0)