aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-10-20 13:33:05 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-10-20 13:33:05 +0200
commit7b7f552a6e70223c7eec7300cba2eac5d96bb765 (patch)
tree5528b551bec1725395d204ea1171833d01b57b24 /core/Controller
parent37c4ccc751ad0f1bfbd6c85e33a8c16bdd79ca5c (diff)
downloadnextcloud-server-7b7f552a6e70223c7eec7300cba2eac5d96bb765.tar.gz
nextcloud-server-7b7f552a6e70223c7eec7300cba2eac5d96bb765.zip
fix(Text2Image): Fix OpenAPI types
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/TextToImageApiController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/TextToImageApiController.php b/core/Controller/TextToImageApiController.php
index aee3a462f5f..27833c0035d 100644
--- a/core/Controller/TextToImageApiController.php
+++ b/core/Controller/TextToImageApiController.php
@@ -82,7 +82,7 @@ class TextToImageApiController extends \OCP\AppFramework\OCSController {
* @param string $identifier An arbitrary identifier for the task
* @param int $numberOfImages The number of images to generate
*
- * @return DataResponse<Http::STATUS_OK, array{task: CoreTextToImageTask}, array{}>|DataResponse<Http::STATUS_PRECONDITION_FAILED, array{message: string}, array{}>
+ * @return DataResponse<Http::STATUS_OK, array{task: CoreTextToImageTask}, array{}>|DataResponse<Http::STATUS_PRECONDITION_FAILED|Http::STATUS_INTERNAL_SERVER_ERROR, array{message: string}, array{}>
*
* 200: Task scheduled successfully
* 412: Scheduling task is not possible