Skip to content

Commit

Permalink
fix: gather unknown fields in Context into properties
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswk committed Apr 14, 2023
1 parent 279931b commit 8b54b3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client_features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<HashMap<String, String>>,
}

Expand Down

0 comments on commit 8b54b3c

Please sign in to comment.