feat(openapi): show explicitly path requiring bearerAuth

This commit is contained in:
Edouard Vanbelle
2026-05-27 12:43:07 +02:00
parent de1645b6c3
commit dfb21b746d
15 changed files with 124 additions and 5 deletions
@@ -145,6 +145,7 @@ where
(status = 400, description = "Bad request"),
(status = 401, description = "Unauthorized")
),
security(("bearerAuth" = [])),
tag = "batch"
)]
pub async fn move_files_batch(
@@ -212,6 +213,7 @@ pub async fn move_files_batch(
(status = 400, description = "Bad request"),
(status = 401, description = "Unauthorized")
),
security(("bearerAuth" = [])),
tag = "batch"
)]
pub async fn copy_files_batch(
@@ -279,6 +281,7 @@ pub async fn copy_files_batch(
(status = 400, description = "Bad request"),
(status = 401, description = "Unauthorized")
),
security(("bearerAuth" = [])),
tag = "batch"
)]
pub async fn delete_files_batch(
@@ -354,6 +357,7 @@ pub async fn delete_files_batch(
(status = 400, description = "Bad request"),
(status = 401, description = "Unauthorized")
),
security(("bearerAuth" = [])),
tag = "batch"
)]
pub async fn delete_folders_batch(
@@ -429,6 +433,7 @@ pub async fn delete_folders_batch(
(status = 400, description = "Bad request"),
(status = 401, description = "Unauthorized")
),
security(("bearerAuth" = [])),
tag = "batch"
)]
pub async fn create_folders_batch(
@@ -503,6 +508,7 @@ pub async fn create_folders_batch(
(status = 400, description = "Bad request"),
(status = 401, description = "Unauthorized")
),
security(("bearerAuth" = [])),
tag = "batch"
)]
pub async fn get_files_batch(
@@ -570,6 +576,7 @@ pub async fn get_files_batch(
(status = 400, description = "Bad request"),
(status = 401, description = "Unauthorized")
),
security(("bearerAuth" = [])),
tag = "batch"
)]
pub async fn get_folders_batch(
@@ -677,6 +684,7 @@ impl From<BatchDownloadQuery> for BatchDownloadRequest {
(status = 400, description = "Bad request"),
(status = 401, description = "Unauthorized")
),
security(("bearerAuth" = [])),
tag = "batch"
)]
pub async fn trash_batch(
@@ -800,6 +808,7 @@ pub async fn trash_batch(
(status = 400, description = "Bad request"),
(status = 401, description = "Unauthorized")
),
security(("bearerAuth" = [])),
tag = "batch"
)]
pub async fn move_folders_batch(
@@ -884,6 +893,7 @@ impl From<CopyFolderTreeResult> for CopiedFolderDto {
(status = 400, description = "Bad request"),
(status = 401, description = "Unauthorized")
),
security(("bearerAuth" = [])),
tag = "batch"
)]
pub async fn copy_folders_batch(
@@ -951,6 +961,7 @@ pub async fn copy_folders_batch(
(status = 401, description = "Unauthorized"),
(status = 500, description = "ZIP creation failed")
),
security(("bearerAuth" = [])),
tag = "batch"
)]
pub async fn download_batch_querystring(
@@ -973,6 +984,7 @@ pub async fn download_batch_querystring(
(status = 401, description = "Unauthorized"),
(status = 500, description = "ZIP creation failed")
),
security(("bearerAuth" = [])),
tag = "batch"
)]
pub async fn download_batch_post(