From 05616dd3d8ce91a702126e078a8489fcb18c8b71 Mon Sep 17 00:00:00 2001 From: Frederic Henrichs Date: Tue, 12 Nov 2024 11:54:16 +0100 Subject: [PATCH] backend/add: fix documented type of name. --- backend/src/routes/charger/add.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/routes/charger/add.rs b/backend/src/routes/charger/add.rs index 50b22cc..80db026 100644 --- a/backend/src/routes/charger/add.rs +++ b/backend/src/routes/charger/add.rs @@ -53,6 +53,7 @@ pub struct Keys { #[derive(Serialize, Deserialize, Clone, ToSchema)] pub struct ChargerSchema { pub id: String, + #[schema(value_type = Vec)] pub name: Vec, pub charger_pub: String, #[schema(value_type = SchemaType::String)]