aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/OCMController.php
diff options
context:
space:
mode:
authorjld3103 <jld3103yt@gmail.com>2023-09-22 09:20:25 +0200
committerjld3103 <jld3103yt@gmail.com>2023-09-23 13:00:58 +0200
commitc72ca72cdeba0cd1b11e0bab1ce2a1a320cff58a (patch)
tree0daa5780c76e6b7624d7514c4108e8ff8c986fd4 /core/Controller/OCMController.php
parentb6f13cb2d9a64d9696c090cc10e8cdf5cbc99974 (diff)
downloadnextcloud-server-c72ca72cdeba0cd1b11e0bab1ce2a1a320cff58a.tar.gz
nextcloud-server-c72ca72cdeba0cd1b11e0bab1ce2a1a320cff58a.zip
core: Fix OCM OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Diffstat (limited to 'core/Controller/OCMController.php')
-rw-r--r--core/Controller/OCMController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/OCMController.php b/core/Controller/OCMController.php
index 8d08da1f8e4..03a8c0d8e4f 100644
--- a/core/Controller/OCMController.php
+++ b/core/Controller/OCMController.php
@@ -59,7 +59,7 @@ class OCMController extends Controller {
* @NoCSRFRequired
* @psalm-suppress MoreSpecificReturnType
* @psalm-suppress LessSpecificReturnStatement
- * @return DataResponse<Http::STATUS_OK, array{enabled: bool, apiVersion: string, endPoint: string, resourceTypes: array{array{name: string, shareTypes: string[], protocols: array{webdav: string}}}}, array{X-NEXTCLOUD-OCM-PROVIDERS: true, Content-Type: 'application/json'}>|DataResponse<Http::STATUS_INTERNAL_SERVER_ERROR, array{message: string}, array{}>
+ * @return DataResponse<Http::STATUS_OK, array{enabled: bool, apiVersion: string, endPoint: string, resourceTypes: array{name: string, shareTypes: string[], protocols: array{webdav: string}}[]}, array{X-NEXTCLOUD-OCM-PROVIDERS: true, Content-Type: 'application/json'}>|DataResponse<Http::STATUS_INTERNAL_SERVER_ERROR, array{message: string}, array{}>
*
* 200: OCM Provider details returned
* 500: OCM not supported