diff options
author | provokateurin <kate@provokateurin.de> | 2024-01-18 16:23:36 +0100 |
---|---|---|
committer | Kate <26026535+provokateurin@users.noreply.github.com> | 2024-01-19 09:12:34 +0100 |
commit | 651caed6aa4c155f1da9f261c2e5f6e5ebdc48a9 (patch) | |
tree | ae2949c4a114a1b2fa8ab3e4848d62752b68d7e1 /apps/cloud_federation_api | |
parent | 98d64ea05d67f6f6deb8d481512e777e776ad7c9 (diff) | |
download | nextcloud-server-651caed6aa4c155f1da9f261c2e5f6e5ebdc48a9.tar.gz nextcloud-server-651caed6aa4c155f1da9f261c2e5f6e5ebdc48a9.zip |
refactor: Configure OpenAPI scopes
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/cloud_federation_api')
-rw-r--r-- | apps/cloud_federation_api/lib/Controller/RequestHandlerController.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/cloud_federation_api/lib/Controller/RequestHandlerController.php b/apps/cloud_federation_api/lib/Controller/RequestHandlerController.php index 0a536aec431..0255e011ea4 100644 --- a/apps/cloud_federation_api/lib/Controller/RequestHandlerController.php +++ b/apps/cloud_federation_api/lib/Controller/RequestHandlerController.php @@ -30,6 +30,7 @@ use OCA\CloudFederationAPI\Config; use OCA\CloudFederationAPI\ResponseDefinitions; use OCP\AppFramework\Controller; use OCP\AppFramework\Http; +use OCP\AppFramework\Http\Attribute\OpenAPI; use OCP\AppFramework\Http\JSONResponse; use OCP\Federation\Exceptions\ActionNotSupportedException; use OCP\Federation\Exceptions\AuthenticationFailedException; @@ -55,6 +56,7 @@ use Psr\Log\LoggerInterface; * @psalm-import-type CloudFederationAPIValidationError from ResponseDefinitions * @psalm-import-type CloudFederationAPIError from ResponseDefinitions */ +#[OpenAPI(scope: OpenAPI::SCOPE_FEDERATION)] class RequestHandlerController extends Controller { public function __construct( string $appName, |