diff --git a/github/src/types.rs b/github/src/types.rs index eead090c..b233ea64 100644 --- a/github/src/types.rs +++ b/github/src/types.rs @@ -1,6 +1,7 @@ //! The data types sent to and returned from the API client. use schemars::JsonSchema; use serde::{Deserialize, Serialize}; +use std::collections::HashMap; /// Simple User #[derive(Serialize, Deserialize, PartialEq, Debug, Clone, JsonSchema)] @@ -25478,7 +25479,7 @@ pub struct GistsCreateRequest { * Names and content for the files that make up the gist */ #[serde()] - pub files: FilesAdditionalPropertiesData, + pub files: HashMap, #[serde(default, skip_serializing_if = "Option::is_none")] pub public: Option, }