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
@@ -70,7 +70,10 @@ pub async fn get_by_id(
(status = 400, description = "Données invalides (canal non trouvé)"),
(status = 500, description = "Erreur interne du serveur")
),
tag = "Messages"
tag = "Messages",
security(
("bearerAuth" = [])
)
)]
pub async fn create(
user: CurrentUser,
@@ -119,7 +122,10 @@ pub async fn create(
params(
("id" = Uuid, Path, description = "ID du message")
),
tag = "Messages"
tag = "Messages",
security(
("bearerAuth" = [])
)
)]
pub async fn update(
user: CurrentUser,
@@ -159,7 +165,10 @@ pub async fn update(
params(
("id" = Uuid, Path, description = "ID du message")
),
tag = "Messages"
tag = "Messages",
security(
("bearerAuth" = [])
)
)]
pub async fn delete(
user: CurrentUser,