From 98d64ea05d67f6f6deb8d481512e777e776ad7c9 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Thu, 18 Jan 2024 10:38:37 +0100 Subject: refactor: Migrate IgnoreOpenAPI attributes to OpenAPI Signed-off-by: provokateurin --- core/Controller/ErrorController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/Controller/ErrorController.php') diff --git a/core/Controller/ErrorController.php b/core/Controller/ErrorController.php index 9882b481951..0bc9e605e13 100644 --- a/core/Controller/ErrorController.php +++ b/core/Controller/ErrorController.php @@ -28,10 +28,10 @@ declare(strict_types=1); namespace OC\Core\Controller; use OCP\AppFramework\Http; -use OCP\AppFramework\Http\Attribute\IgnoreOpenAPI; +use OCP\AppFramework\Http\Attribute\OpenAPI; use OCP\AppFramework\Http\TemplateResponse; -#[IgnoreOpenAPI] +#[OpenAPI(scope: OpenAPI::SCOPE_IGNORE)] class ErrorController extends \OCP\AppFramework\Controller { /** * @PublicPage -- cgit v1.2.3