This commit is contained in:
2026-05-17 13:33:10 +02:00
parent b2cefb7d66
commit fed75d4820
54 changed files with 3845 additions and 51 deletions
+12 -3
View File
@@ -72,7 +72,10 @@ pub async fn get_by_id(
(status = 404, description = "Serveur non trouvé"),
(status = 500, description = "Erreur interne du serveur")
),
tag = "Categories"
tag = "Categories",
security(
("bearerAuth" = [])
)
)]
pub async fn create(
_admin: Superuser,
@@ -108,7 +111,10 @@ pub async fn create(
params(
("id" = Uuid, Path, description = "ID de la catégorie")
),
tag = "Categories"
tag = "Categories",
security(
("bearerAuth" = [])
)
)]
pub async fn update(
_admin: Superuser,
@@ -142,7 +148,10 @@ pub async fn update(
params(
("id" = Uuid, Path, description = "ID de la catégorie")
),
tag = "Categories"
tag = "Categories",
security(
("bearerAuth" = [])
)
)]
pub async fn delete(
_admin: Superuser,