diff options
Diffstat (limited to 'core/Controller/JsController.php')
-rw-r--r-- | core/Controller/JsController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Controller/JsController.php b/core/Controller/JsController.php index e2b432fef5e..213231eb854 100644 --- a/core/Controller/JsController.php +++ b/core/Controller/JsController.php @@ -34,7 +34,7 @@ namespace OC\Core\Controller; use OC\Files\AppData\Factory; use OCP\AppFramework\Controller; use OCP\AppFramework\Http; -use OCP\AppFramework\Http\Attribute\IgnoreOpenAPI; +use OCP\AppFramework\Http\Attribute\OpenAPI; use OCP\AppFramework\Http\FileDisplayResponse; use OCP\AppFramework\Http\NotFoundResponse; use OCP\AppFramework\Http\Response; @@ -45,7 +45,7 @@ use OCP\Files\SimpleFS\ISimpleFile; use OCP\Files\SimpleFS\ISimpleFolder; use OCP\IRequest; -#[IgnoreOpenAPI] +#[OpenAPI(scope: OpenAPI::SCOPE_IGNORE)] class JsController extends Controller { protected IAppData $appData; |