From fe40cd001fdf6e3e9d9fba0900260d4cb20eed86 Mon Sep 17 00:00:00 2001 From: TekH Date: Wed, 10 Dec 2025 16:41:51 +0100 Subject: [PATCH] Update RecActionController routes and XML docs Changed Invoke action to use profileId as a route parameter. Updated Get method XML docs to reflect use of ReadRecActionQuery from query string instead of profileId. --- src/ReC.API/Controllers/RecActionController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ReC.API/Controllers/RecActionController.cs b/src/ReC.API/Controllers/RecActionController.cs index ca24e27..a675b87 100644 --- a/src/ReC.API/Controllers/RecActionController.cs +++ b/src/ReC.API/Controllers/RecActionController.cs @@ -18,7 +18,7 @@ public class RecActionController(IMediator mediator, IConfiguration config) : Co /// The ID of the profile. /// A token to cancel the operation. /// An HTTP 202 Accepted response indicating the process has been started. - [HttpPost("invoke")] + [HttpPost("invoke/{profileId}")] [ProducesResponseType(StatusCodes.Status202Accepted)] public async Task Invoke([FromRoute] int profileId, CancellationToken cancel) { @@ -43,7 +43,7 @@ public class RecActionController(IMediator mediator, IConfiguration config) : Co /// /// Gets all RecActions for a given profile. /// - /// The ID of the profile. + /// /// A token to cancel the operation. /// A list of RecActions for the specified profile. [HttpGet]