diff options
author | Cyborus <cyborus@cyborus.xyz> | 2024-01-21 22:03:44 +0100 |
---|---|---|
committer | Cyborus <cyborus@cyborus.xyz> | 2024-01-21 22:03:44 +0100 |
commit | 8d3738af50a5e0d85182701aa405204d3f19e7a8 (patch) | |
tree | 15b5a08a25db609762f242130e97dac34fbf02a6 /src | |
parent | support returning header values (diff) | |
download | forgejo-api-8d3738af50a5e0d85182701aa405204d3f19e7a8.tar.xz forgejo-api-8d3738af50a5e0d85182701aa405204d3f19e7a8.zip |
special-case `ssh_url` to not be a `url::Url`
Diffstat (limited to 'src')
-rw-r--r-- | src/generated.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/generated.rs b/src/generated.rs index 39548d9..00f4260 100644 --- a/src/generated.rs +++ b/src/generated.rs @@ -9446,8 +9446,7 @@ pub mod structs { pub release_counter: Option<u64>, pub repo_transfer: Option<RepoTransfer>, pub size: Option<u64>, - #[serde(deserialize_with = "crate::none_if_blank_url")] - pub ssh_url: Option<url::Url>, + pub ssh_url: Option<String>, pub stars_count: Option<u64>, pub template: Option<bool>, #[serde(with = "time::serde::rfc3339::option")] |