aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2024-05-07 13:04:31 +0200
committerMarcel Klehr <mklehr@gmx.net>2024-05-14 11:38:41 +0200
commit4d9a0eab5f4df480ebdf72d39e73c626583a2f16 (patch)
treed6887132bfea19d98a345623c6997e176233aa96 /core
parentbeeee262184b69d6ca2d9d55acc292a75f11ddeb (diff)
downloadnextcloud-server-4d9a0eab5f4df480ebdf72d39e73c626583a2f16.tar.gz
nextcloud-server-4d9a0eab5f4df480ebdf72d39e73c626583a2f16.zip
fix: update openai specs
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'core')
-rw-r--r--core/Controller/TaskProcessingApiController.php2
-rw-r--r--core/openapi.json6
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<string, mixed> $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<Http::STATUS_OK, array{task: CoreTaskProcessingTask}, array{}>|DataResponse<Http::STATUS_INTERNAL_SERVER_ERROR|Http::STATUS_BAD_REQUEST|Http::STATUS_PRECONDITION_FAILED|Http::STATUS_UNAUTHORIZED, array{message: string}, array{}>
*
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": {