Browse Source

fix: update openai specs

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
pull/45094/head
Marcel Klehr 1 month ago
parent
commit
4d9a0eab5f
2 changed files with 4 additions and 4 deletions
  1. 1
    1
      core/Controller/TaskProcessingApiController.php
  2. 3
    3
      core/openapi.json

+ 1
- 1
core/Controller/TaskProcessingApiController.php View File

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

+ 3
- 3
core/openapi.json View File

@@ -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