diff options
author | provokateurin <kate@provokateurin.de> | 2024-01-18 16:23:36 +0100 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-01-18 16:23:36 +0100 |
commit | c5808d0d107929f6db757bc2f71fbb5d7f7a5a6b (patch) | |
tree | d228088ed4d9b66ab4aacddd1c9b6c2747299973 /apps/federation | |
parent | b64ab5fba86f55e59ebb8983a143d640d0c6a7a1 (diff) | |
download | nextcloud-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.php | 2 |
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; |