From 4d9a0eab5f4df480ebdf72d39e73c626583a2f16 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Tue, 7 May 2024 13:04:31 +0200 Subject: [PATCH] fix: update openai specs Signed-off-by: Marcel Klehr --- core/Controller/TaskProcessingApiController.php | 2 +- core/openapi.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/Controller/TaskProcessingApiController.php b/core/Controller/TaskProcessingApiController.php index 0a63ccac14b..6a88ff9a731 100644 --- a/core/Controller/TaskProcessingApiController.php +++ b/core/Controller/TaskProcessingApiController.php @@ -101,7 +101,7 @@ class TaskProcessingApiController extends \OCP\AppFramework\OCSController { * @param array $input Task's input parameters * @param string $type Type of the task * @param string $appId ID of the app that will execute the task - * @param string $identifier An arbitrary identifier for the task + * @param string $customId An arbitrary identifier for the task * * @return DataResponse|DataResponse * diff --git a/core/openapi.json b/core/openapi.json index 6d5317e5f25..ae64ec1e33d 100644 --- a/core/openapi.json +++ b/core/openapi.json @@ -496,7 +496,7 @@ "appId", "input", "output", - "identifier", + "customId", "completionExpectedAt", "progress" ], @@ -577,7 +577,7 @@ ] } }, - "identifier": { + "customId": { "type": "string", "nullable": true }, @@ -3471,7 +3471,7 @@ } }, { - "name": "identifier", + "name": "customId", "in": "query", "description": "An arbitrary identifier for the task", "schema": { -- 2.39.5