Skip to content

Commit

Permalink
Add param types
Browse files Browse the repository at this point in the history
  • Loading branch information
rickbutterfield authored Aug 28, 2024
1 parent e221e2d commit 1211a8f
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@ public BlockPreviewApiController(
/// Renders a preview for a grid block using the associated Razor view or ViewComponent.
/// </summary>
/// <param name="blockData">The JSON content data of the block.</param>
/// <param name="nodeKey">The <see cref="Guid"/> that represents the Umbraco node.</param>
/// <param name="blockEditorAlias">The alias of the block editor</param>
/// <param name="contentElementAlias">The alias of the content being rendered</param>
/// <param name="culture">The current culture</param>
/// <param name="documentTypeUnique">The <see cref="Guid"/> that represents the Umbraco node</param>
/// <param name="documentTypeUnique">The <see cref="Guid"/> that represents the Umbraco node content type</param>
/// <param name="contentUdi">The <see cref="Cms.Core.Udi"/> that represents the content element</param>
/// <param name="contentUdi">The <see cref="Cms.Core.Udi"/> that represents the settings element</param>
/// <param name="settingsUdi">The <see cref="Cms.Core.Udi"/> that represents the settings element</param>
/// <returns>The markup to render in the preview.</returns>
[HttpPost]
[ProducesResponseType(typeof(string), 200)]
Expand Down Expand Up @@ -97,9 +98,11 @@ public async Task<IActionResult> PreviewGridBlock(
/// Renders a preview for a list block using the associated Razor view or ViewComponent.
/// </summary>
/// <param name="blockData">The JSON content data of the block.</param>
/// <param name="nodeKey">The <see cref="Guid"/> that represents the Umbraco node.</param>
/// <param name="blockEditorAlias">The alias of the block editor</param>
/// <param name="contentElementAlias">The alias of the content being rendered</param>
/// <param name="culture">The current culture</param>
/// <param name="documentTypeUnique">The <see cref="Guid"/> that represents the Umbraco node content type</param>
/// <returns>The markup to render in the preview.</returns>
[HttpPost]
[ProducesResponseType(typeof(string), 200)]
Expand Down Expand Up @@ -139,9 +142,11 @@ public async Task<IActionResult> PreviewListBlock(
/// Renders a preview for a rich text block using the associated Razor view or ViewComponent.
/// </summary>
/// <param name="blockData">The JSON content data of the block.</param>
/// <param name="nodeKey">The <see cref="Guid"/> that represents the Umbraco node.</param>
/// <param name="blockEditorAlias">The alias of the block editor</param>
/// <param name="contentElementAlias">The alias of the content being rendered</param>
/// <param name="culture">The current culture</param>
/// <param name="documentTypeUnique">The <see cref="Guid"/> that represents the Umbraco node content type</param>
/// <returns>The markup to render in the preview.</returns>
[HttpPost]
[ProducesResponseType(typeof(string), 200)]
Expand Down

0 comments on commit 1211a8f

Please sign in to comment.