diff options
author | jld3103 <jld3103yt@gmail.com> | 2023-06-15 15:47:21 +0200 |
---|---|---|
committer | jld3103 <jld3103yt@gmail.com> | 2023-07-10 15:14:22 +0200 |
commit | 9b822a5722bf8423d7a38d32f6e0f44f9f1d78f9 (patch) | |
tree | a726496fbc745704cc4398a61d02719a67a6e989 /apps/sharebymail/lib | |
parent | a84fa17c7324599f9b872967e7b96d8a504a89b0 (diff) | |
download | nextcloud-server-9b822a5722bf8423d7a38d32f6e0f44f9f1d78f9.tar.gz nextcloud-server-9b822a5722bf8423d7a38d32f6e0f44f9f1d78f9.zip |
sharebymail: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Diffstat (limited to 'apps/sharebymail/lib')
-rw-r--r-- | apps/sharebymail/lib/Capabilities.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/apps/sharebymail/lib/Capabilities.php b/apps/sharebymail/lib/Capabilities.php index 39d7172bb76..8be0ca380cf 100644 --- a/apps/sharebymail/lib/Capabilities.php +++ b/apps/sharebymail/lib/Capabilities.php @@ -45,6 +45,27 @@ class Capabilities implements ICapability { $this->settingsManager = $settingsManager; } + /** + * @return array{ + * files_sharing: array{ + * sharebymail: array{ + * enabled: bool, + * send_password_by_mail: bool, + * upload_files_drop: array{ + * enabled: bool, + * }, + * password: array{ + * enabled: bool, + * enforced: bool, + * }, + * expire_date: array{ + * enabled: bool, + * enforced: bool, + * }, + * } + * } + * } + */ public function getCapabilities(): array { return [ 'files_sharing' => |