From 79e153735c113e21188f51f9e4bcdab439fa1811 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Thu, 16 May 2024 12:33:15 +0200 Subject: [PATCH] docs(TaskProcessingApi): Fix result endpoint description Signed-off-by: provokateurin --- core/Controller/TaskProcessingApiController.php | 2 +- core/openapi.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/Controller/TaskProcessingApiController.php b/core/Controller/TaskProcessingApiController.php index ce89ebd34bb..71d7f49a3db 100644 --- a/core/Controller/TaskProcessingApiController.php +++ b/core/Controller/TaskProcessingApiController.php @@ -363,7 +363,7 @@ class TaskProcessingApiController extends \OCP\AppFramework\OCSController { } /** - * This endpoint sets the task progress + * This endpoint sets the task result * * @param int $taskId The id of the task * @param array|null $output The resulting task output diff --git a/core/openapi.json b/core/openapi.json index 7563406dba0..65784397227 100644 --- a/core/openapi.json +++ b/core/openapi.json @@ -4498,7 +4498,7 @@ "/ocs/v2.php/taskprocessing/tasks/{taskId}/result": { "post": { "operationId": "task_processing_api-set-result", - "summary": "This endpoint sets the task progress", + "summary": "This endpoint sets the task result", "tags": [ "task_processing_api" ],