diff options
author | Cyborus <cyborus@cyborus.xyz> | 2024-04-26 19:34:08 +0200 |
---|---|---|
committer | Cyborus <cyborus@cyborus.xyz> | 2024-04-26 19:36:13 +0200 |
commit | fd0c22a1c61d9ddf8d30d3ab2a1a96592ca49ee1 (patch) | |
tree | 97c10078fb4068d7dbe398af1f55439bd589baab /src | |
parent | Merge pull request 'format swagger file' (#49) from fmt-swagger into main (diff) | |
download | forgejo-api-fd0c22a1c61d9ddf8d30d3ab2a1a96592ca49ee1.tar.xz forgejo-api-fd0c22a1c61d9ddf8d30d3ab2a1a96592ca49ee1.zip |
add `CreateHookOptionConfig` required properties as fields
Diffstat (limited to 'src')
-rw-r--r-- | src/generated/structs.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/generated/structs.rs b/src/generated/structs.rs index bcb8682..cda1845 100644 --- a/src/generated/structs.rs +++ b/src/generated/structs.rs @@ -500,6 +500,8 @@ pub enum CreateHookOptionType { /// required are "content_type" and "url" Required #[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)] pub struct CreateHookOptionConfig { + pub content_type: String, + pub url: url::Url, #[serde(flatten)] pub additional: BTreeMap<String, String>, } |