summaryrefslogtreecommitdiffstats
path: root/apps/comments/lib/Controller/NotificationsController.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/comments/lib/Controller/NotificationsController.php')
-rw-r--r--apps/comments/lib/Controller/NotificationsController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/comments/lib/Controller/NotificationsController.php b/apps/comments/lib/Controller/NotificationsController.php
index cc37dc628be..1e1f0e563e2 100644
--- a/apps/comments/lib/Controller/NotificationsController.php
+++ b/apps/comments/lib/Controller/NotificationsController.php
@@ -26,7 +26,7 @@ namespace OCA\Comments\Controller;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http;
-use OCP\AppFramework\Http\Attribute\IgnoreOpenAPI;
+use OCP\AppFramework\Http\Attribute\OpenAPI;
use OCP\AppFramework\Http\NotFoundResponse;
use OCP\AppFramework\Http\RedirectResponse;
use OCP\Comments\IComment;
@@ -41,7 +41,7 @@ use OCP\Notification\IManager;
/**
* @package OCA\Comments\Controller
*/
-#[IgnoreOpenAPI]
+#[OpenAPI(scope: OpenAPI::SCOPE_IGNORE)]
class NotificationsController extends Controller {
public function __construct(
string $appName,