aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federation
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-01-18 16:23:36 +0100
committerprovokateurin <kate@provokateurin.de>2024-01-18 16:23:36 +0100
commitc5808d0d107929f6db757bc2f71fbb5d7f7a5a6b (patch)
treed228088ed4d9b66ab4aacddd1c9b6c2747299973 /apps/federation
parentb64ab5fba86f55e59ebb8983a143d640d0c6a7a1 (diff)
downloadnextcloud-server-c5808d0d107929f6db757bc2f71fbb5d7f7a5a6b.tar.gz
nextcloud-server-c5808d0d107929f6db757bc2f71fbb5d7f7a5a6b.zip
refactor: Configure OpenAPI scopes
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/federation')
-rw-r--r--apps/federation/lib/Controller/OCSAuthAPIController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/federation/lib/Controller/OCSAuthAPIController.php b/apps/federation/lib/Controller/OCSAuthAPIController.php
index 8fa33fa48ef..82c3e20da31 100644
--- a/apps/federation/lib/Controller/OCSAuthAPIController.php
+++ b/apps/federation/lib/Controller/OCSAuthAPIController.php
@@ -31,6 +31,7 @@ namespace OCA\Federation\Controller;
use OCA\Federation\DbHandler;
use OCA\Federation\TrustedServers;
use OCP\AppFramework\Http;
+use OCP\AppFramework\Http\Attribute\OpenAPI;
use OCP\AppFramework\Http\DataResponse;
use OCP\AppFramework\OCS\OCSForbiddenException;
use OCP\AppFramework\OCSController;
@@ -47,6 +48,7 @@ use Psr\Log\LoggerInterface;
*
* @package OCA\Federation\Controller
*/
+#[OpenAPI(scope: OpenAPI::SCOPE_FEDERATION)]
class OCSAuthAPIController extends OCSController {
private ISecureRandom $secureRandom;
private IJobList $jobList;