diff options
author | provokateurin <kate@provokateurin.de> | 2024-01-18 10:38:37 +0100 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-01-18 16:14:17 +0100 |
commit | b64ab5fba86f55e59ebb8983a143d640d0c6a7a1 (patch) | |
tree | cfcf4a64885acf9f2f19a163014094d706c2ba10 /apps/dashboard | |
parent | 14c57ee708101d31838d468e8e5923e9dd8c7919 (diff) | |
download | nextcloud-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.php | 4 |
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 */ |