diff options
author | Kate <26026535+provokateurin@users.noreply.github.com> | 2025-01-06 16:35:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-06 16:35:00 +0100 |
commit | e686b93d7348f023cd25e85d8667be9e57e02d47 (patch) | |
tree | 883dad989daa688051f5ed70e75587aad5fff045 /apps/files | |
parent | ca2e29661864050d20631a0de46bf3c5c77ebcdf (diff) | |
parent | 3ac8e4324fc058927a25fbeb86f852c9a222f03c (diff) | |
download | nextcloud-server-e686b93d7348f023cd25e85d8667be9e57e02d47.tar.gz nextcloud-server-e686b93d7348f023cd25e85d8667be9e57e02d47.zip |
Merge pull request #49905 from nextcloud/chore/deps/openapi-extractor
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/lib/Controller/ApiController.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/lib/Controller/ApiController.php b/apps/files/lib/Controller/ApiController.php index 5ba325f1bf8..dba732c9c52 100644 --- a/apps/files/lib/Controller/ApiController.php +++ b/apps/files/lib/Controller/ApiController.php @@ -85,6 +85,7 @@ class ApiController extends Controller { #[NoAdminRequired] #[NoCSRFRequired] #[StrictCookiesRequired] + #[OpenAPI(scope: OpenAPI::SCOPE_DEFAULT)] public function getThumbnail($x, $y, $file) { if ($x < 1 || $y < 1) { return new DataResponse(['message' => 'Requested size must be numeric and a positive value.'], Http::STATUS_BAD_REQUEST); @@ -277,6 +278,7 @@ class ApiController extends Controller { */ #[NoAdminRequired] #[ApiRoute(verb: 'GET', url: '/api/v1/folder-tree')] + #[OpenAPI(scope: OpenAPI::SCOPE_DEFAULT)] public function getFolderTree(string $path = '/', int $depth = 1): JSONResponse { $user = $this->userSession->getUser(); if (!($user instanceof IUser)) { |