fix(TaskProcessing): Update openapi specs

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
pull/46368/head
Marcel Klehr 1 year ago
parent 969cc52851
commit 0d07ad98b0
  1. 8
      core/Controller/TaskProcessingApiController.php
  2. 1867
      core/openapi-full.json
  3. 1549
      core/openapi.json

@ -295,9 +295,10 @@ class TaskProcessingApiController extends \OCP\AppFramework\OCSController {
* Use field 'file' for the file upload
*
* @param int $taskId The id of the task
* @return DataResponse<Http::STATUS_CREATED, array{fileId: int}, array{}>|DataResponse<Http::STATUS_INTERNAL_SERVER_ERROR|Http::STATUS_NOT_FOUND, array{message: string}, array{}>
* @return DataResponse<Http::STATUS_CREATED, array{fileId: int}, array{}>|DataResponse<Http::STATUS_BAD_REQUEST|Http::STATUS_INTERNAL_SERVER_ERROR|Http::STATUS_NOT_FOUND, array{message: string}, array{}>
*
* 201: File created
* 400: File upload failed or no file was uploaded
* 404: Task not found
*/
#[ExAppRequired]
@ -530,6 +531,11 @@ class TaskProcessingApiController extends \OCP\AppFramework\OCSController {
}
}
/**
* @param resource $data
* @return int
* @throws NotPermittedException
*/
private function setFileContentsInternal($data): int {
try {
$folder = $this->appData->getFolder('TaskProcessing');

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save