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
@@ -69,7 +69,10 @@ pub async fn get_by_id(
(status = 201, description = "Serveur créé avec succès", body = ServerResponse),
(status = 500, description = "Erreur interne du serveur")
),
tag = "Servers"
tag = "Servers",
security(
("bearerAuth" = [])
)
)]
pub async fn create(
_admin: Superuser,
@@ -97,7 +100,10 @@ pub async fn create(
params(
("id" = Uuid, Path, description = "ID du serveur")
),
tag = "Servers"
tag = "Servers",
security(
("bearerAuth" = [])
)
)]
pub async fn update(
_admin: Superuser,
@@ -131,7 +137,10 @@ pub async fn update(
params(
("id" = Uuid, Path, description = "ID du serveur")
),
tag = "Servers"
tag = "Servers",
security(
("bearerAuth" = [])
)
)]
pub async fn delete(
_admin: Superuser,