aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dashboard
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-01-18 10:38:37 +0100
committerprovokateurin <kate@provokateurin.de>2024-01-18 16:14:17 +0100
commitb64ab5fba86f55e59ebb8983a143d640d0c6a7a1 (patch)
treecfcf4a64885acf9f2f19a163014094d706c2ba10 /apps/dashboard
parent14c57ee708101d31838d468e8e5923e9dd8c7919 (diff)
downloadnextcloud-server-b64ab5fba86f55e59ebb8983a143d640d0c6a7a1.tar.gz
nextcloud-server-b64ab5fba86f55e59ebb8983a143d640d0c6a7a1.zip
refactor: Migrate IgnoreOpenAPI attributes to OpenAPI
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/dashboard')
-rw-r--r--apps/dashboard/lib/Controller/DashboardController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dashboard/lib/Controller/DashboardController.php b/apps/dashboard/lib/Controller/DashboardController.php
index e7a1a71ccd4..625881b001c 100644
--- a/apps/dashboard/lib/Controller/DashboardController.php
+++ b/apps/dashboard/lib/Controller/DashboardController.php
@@ -34,7 +34,7 @@ use OCA\Files\Event\LoadSidebar;
use OCA\Viewer\Event\LoadViewer;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http;
-use OCP\AppFramework\Http\Attribute\IgnoreOpenAPI;
+use OCP\AppFramework\Http\Attribute\OpenAPI;
use OCP\AppFramework\Http\JSONResponse;
use OCP\AppFramework\Http\TemplateResponse;
use OCP\AppFramework\Services\IInitialState;
@@ -46,7 +46,7 @@ use OCP\IConfig;
use OCP\IL10N;
use OCP\IRequest;
-#[IgnoreOpenAPI]
+#[OpenAPI(scope: OpenAPI::SCOPE_IGNORE)]
class DashboardController extends Controller {
/** @var IInitialState */