From 0b591916d6ab9961d0d41929c6cc0ed1596ffa41 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 11 Jan 2024 12:29:19 +0100 Subject: [PATCH] fix(openapi): Make OpenAPI CI green again Signed-off-by: Joas Schilling --- core/Controller/ProfilePageController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/Controller/ProfilePageController.php b/core/Controller/ProfilePageController.php index eb5b0aa4c0aee..8ea2ad699c1dc 100644 --- a/core/Controller/ProfilePageController.php +++ b/core/Controller/ProfilePageController.php @@ -29,7 +29,7 @@ use OC\Profile\ProfileManager; use OCP\AppFramework\Controller; -use OCP\AppFramework\Http\Attribute\OpenAPI; +use OCP\AppFramework\Http\Attribute\IgnoreOpenAPI; use OCP\AppFramework\Http\TemplateResponse; use OCP\AppFramework\Services\IInitialState; use OCP\EventDispatcher\IEventDispatcher; @@ -42,7 +42,7 @@ use OCP\Share\IManager as IShareManager; use OCP\UserStatus\IManager as IUserStatusManager; -#[OpenAPI(scope: OpenAPI::SCOPE_IGNORE)] +#[IgnoreOpenAPI] class ProfilePageController extends Controller { public function __construct( string $appName,