diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2024-02-13 10:22:58 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2024-02-13 21:06:31 +0100 |
commit | 9593f4d6f9bac5eee9527ac591a6f39dae11d109 (patch) | |
tree | 0b318c611fe731f4f1411023859328cab08069bc /apps/files_reminders | |
parent | 839ddaa3547bb0042b6225edf2df7bff1831cdd5 (diff) | |
download | nextcloud-server-9593f4d6f9bac5eee9527ac591a6f39dae11d109.tar.gz nextcloud-server-9593f4d6f9bac5eee9527ac591a6f39dae11d109.zip |
fix: openapi
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_reminders')
-rw-r--r-- | apps/files_reminders/lib/Controller/ApiController.php | 6 | ||||
-rw-r--r-- | apps/files_reminders/openapi.json | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/apps/files_reminders/lib/Controller/ApiController.php b/apps/files_reminders/lib/Controller/ApiController.php index 91b7e51eb6f..aeac3bd7a6b 100644 --- a/apps/files_reminders/lib/Controller/ApiController.php +++ b/apps/files_reminders/lib/Controller/ApiController.php @@ -59,7 +59,7 @@ class ApiController extends OCSController { * @return DataResponse<Http::STATUS_OK, array{dueDate: ?string}, array{}>|DataResponse<Http::STATUS_UNAUTHORIZED, array<empty>, array{}> * * 200: Reminder returned - * 401: User not found + * 401: Account not found */ #[NoAdminRequired] public function get(int $fileId): DataResponse { @@ -93,7 +93,7 @@ class ApiController extends OCSController { * 200: Reminder updated * 201: Reminder created successfully * 400: Creating reminder is not possible - * 401: User not found + * 401: Account not found * 404: File not found */ #[NoAdminRequired] @@ -129,7 +129,7 @@ class ApiController extends OCSController { * @return DataResponse<Http::STATUS_OK|Http::STATUS_UNAUTHORIZED|Http::STATUS_NOT_FOUND, array<empty>, array{}> * * 200: Reminder deleted successfully - * 401: User not found + * 401: Account not found * 404: Reminder not found */ #[NoAdminRequired] diff --git a/apps/files_reminders/openapi.json b/apps/files_reminders/openapi.json index 67135e57cc1..4e9653b2f0b 100644 --- a/apps/files_reminders/openapi.json +++ b/apps/files_reminders/openapi.json @@ -134,7 +134,7 @@ } }, "401": { - "description": "User not found", + "description": "Account not found", "content": { "application/json": { "schema": { @@ -303,7 +303,7 @@ } }, "401": { - "description": "User not found", + "description": "Account not found", "content": { "application/json": { "schema": { @@ -435,7 +435,7 @@ } }, "401": { - "description": "User not found", + "description": "Account not found", "content": { "application/json": { "schema": { |