aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/OCJSController.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Controller/OCJSController.php')
-rw-r--r--core/Controller/OCJSController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Controller/OCJSController.php b/core/Controller/OCJSController.php
index 096242b5e9c..e9093439125 100644
--- a/core/Controller/OCJSController.php
+++ b/core/Controller/OCJSController.php
@@ -34,7 +34,7 @@ use OC\Template\JSConfigHelper;
use OCP\App\IAppManager;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http;
-use OCP\AppFramework\Http\Attribute\IgnoreOpenAPI;
+use OCP\AppFramework\Http\Attribute\OpenAPI;
use OCP\AppFramework\Http\DataDisplayResponse;
use OCP\Defaults;
use OCP\IConfig;
@@ -46,7 +46,7 @@ use OCP\IURLGenerator;
use OCP\IUserSession;
use OCP\L10N\IFactory;
-#[IgnoreOpenAPI]
+#[OpenAPI(scope: OpenAPI::SCOPE_IGNORE)]
class OCJSController extends Controller {
private JSConfigHelper $helper;