fix: update openai specs

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
pull/45094/head
Marcel Klehr 1 year ago
parent beeee26218
commit 4d9a0eab5f
  1. 2
      core/Controller/TaskProcessingApiController.php
  2. 6
      core/openapi.json

@ -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{}>
*

@ -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": {

Loading…
Cancel
Save