Serialize features as camelCase

This commit is contained in:
Louis Dureuil 2025-01-13 13:09:38 +01:00
parent 29eeb84ce3
commit 73d3d286d9
No known key found for this signature in database

View File

@ -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<bool>,