diff options
author | Cyborus <cyborus@noreply.codeberg.org> | 2024-08-05 19:10:36 +0200 |
---|---|---|
committer | Cyborus <cyborus@noreply.codeberg.org> | 2024-08-05 19:10:36 +0200 |
commit | 59d56d2f2fc07aa0d06f77202de20ec49b50335d (patch) | |
tree | c9177b304ca25f5ca250261926a4a1fd3cb960ba /generator/src/methods.rs | |
parent | Merge pull request 'replace instances of "gitea" with "Forgejo"' (#71) from r... (diff) | |
parent | chore: generate (diff) | |
download | forgejo-api-59d56d2f2fc07aa0d06f77202de20ec49b50335d.tar.xz forgejo-api-59d56d2f2fc07aa0d06f77202de20ec49b50335d.zip |
Merge pull request 'set parsing by format field' (#72) from parse-by-format into main
Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/72
Diffstat (limited to 'generator/src/methods.rs')
-rw-r--r-- | generator/src/methods.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generator/src/methods.rs b/generator/src/methods.rs index 7245247..141fc7d 100644 --- a/generator/src/methods.rs +++ b/generator/src/methods.rs @@ -209,6 +209,7 @@ pub fn param_type_inner( ParameterType::String => match format.as_deref() { Some("date") => "time::Date", Some("date-time") => "time::OffsetDateTime", + Some("url" | "ssh-url") => "url::Url", _ => { if owned { "String" |