From 8b54b3c9f6466a0a5253a5132b92bf84e9e1c730 Mon Sep 17 00:00:00 2001 From: Christopher Kolstad Date: Fri, 14 Apr 2023 14:48:34 +0200 Subject: [PATCH] fix: gather unknown fields in Context into properties --- src/client_features.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client_features.rs b/src/client_features.rs index bc7a956..5166083 100644 --- a/src/client_features.rs +++ b/src/client_features.rs @@ -62,6 +62,7 @@ pub struct Context { serialize_with = "optional_ordered_map" )] #[cfg_attr(feature = "openapi", param(style = Form, explode = true, value_type = Object))] + #[serde(flatten)] pub properties: Option>, }