aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Controller/ViewController.php
diff options
context:
space:
mode:
authorjld3103 <jld3103yt@gmail.com>2023-06-14 14:43:41 +0200
committerjld3103 <jld3103yt@gmail.com>2023-07-12 09:06:10 +0200
commit259264b966b3fde0cfcfb44e8047206c58917268 (patch)
tree056ac7957938aa04f4494beddb9a047c4af11484 /apps/files/lib/Controller/ViewController.php
parent46284f1696700c2553d8d2f5340ad3bcbad08470 (diff)
downloadnextcloud-server-259264b966b3fde0cfcfb44e8047206c58917268.tar.gz
nextcloud-server-259264b966b3fde0cfcfb44e8047206c58917268.zip
files: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Diffstat (limited to 'apps/files/lib/Controller/ViewController.php')
-rw-r--r--apps/files/lib/Controller/ViewController.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php
index 43be43aa116..01f85a7c939 100644
--- a/apps/files/lib/Controller/ViewController.php
+++ b/apps/files/lib/Controller/ViewController.php
@@ -35,6 +35,7 @@
*/
namespace OCA\Files\Controller;
+use OC\AppFramework\Http;
use OCA\Files\Activity\Helper;
use OCA\Files\AppInfo\Application;
use OCA\Files\Event\LoadAdditionalScriptsEvent;
@@ -44,6 +45,7 @@ use OCA\Files\Service\ViewConfig;
use OCA\Viewer\Event\LoadViewer;
use OCP\App\IAppManager;
use OCP\AppFramework\Controller;
+use OCP\AppFramework\Http\Attribute\IgnoreOpenAPI;
use OCP\AppFramework\Http\ContentSecurityPolicy;
use OCP\AppFramework\Http\RedirectResponse;
use OCP\AppFramework\Http\Response;
@@ -63,10 +65,9 @@ use OCP\IUserSession;
use OCP\Share\IManager;
/**
- * Class ViewController
- *
* @package OCA\Files\Controller
*/
+#[IgnoreOpenAPI]
class ViewController extends Controller {
private IURLGenerator $urlGenerator;
private IL10N $l10n;