From 73d3d286d9fbf79dab901a8e83d8ca623b625d40 Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Mon, 13 Jan 2025 13:09:38 +0100 Subject: [PATCH] Serialize features as camelCase --- crates/meilisearch/src/routes/features.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/meilisearch/src/routes/features.rs b/crates/meilisearch/src/routes/features.rs index 5e57aa382..a744893ae 100644 --- a/crates/meilisearch/src/routes/features.rs +++ b/crates/meilisearch/src/routes/features.rs @@ -79,6 +79,7 @@ async fn get_features( #[deserr(error = DeserrJsonError, rename_all = camelCase, deny_unknown_fields)] #[serde(rename_all = "camelCase")] #[schema(rename_all = "camelCase")] +#[serde(rename_all = "camelCase")] pub struct RuntimeTogglableFeatures { #[deserr(default)] pub metrics: Option,