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)]