diff options
author | Cyborus <cyborus@cyborus.xyz> | 2024-01-18 22:27:05 +0100 |
---|---|---|
committer | Cyborus <cyborus@cyborus.xyz> | 2024-01-18 22:27:05 +0100 |
commit | cfd12a6306618c9938d09f41cfdeb564dcd52ad7 (patch) | |
tree | 7f773ac357ba17119eb791afbecf95d4a8acedca /src | |
parent | add back `download_release_attachment` (diff) | |
download | forgejo-api-cfd12a6306618c9938d09f41cfdeb564dcd52ad7.tar.xz forgejo-api-cfd12a6306618c9938d09f41cfdeb564dcd52ad7.zip |
add additional properties support
Diffstat (limited to 'src')
-rw-r--r-- | src/generated.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/generated.rs b/src/generated.rs index 5ef8176..6b972db 100644 --- a/src/generated.rs +++ b/src/generated.rs @@ -7870,7 +7870,10 @@ pub mod structs { /// required are "content_type" and "url" Required /// #[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)] - pub struct CreateHookOptionConfig {} + pub struct CreateHookOptionConfig { + #[serde(flatten)] + pub additional: std::collections::BTreeMap<String, String>, + } /// CreateIssueCommentOption options for creating a comment on an issue /// |