summaryrefslogtreecommitdiffstats
path: root/generator/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'generator/src/main.rs')
-rw-r--r--generator/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/generator/src/main.rs b/generator/src/main.rs
index f69df2d..b0570d2 100644
--- a/generator/src/main.rs
+++ b/generator/src/main.rs
@@ -75,6 +75,7 @@ fn schema_type_name(
Primitive::String if schema._enum.is_none() => match schema.format.as_deref() {
Some("date") => "time::Date",
Some("date-time") => "time::OffsetDateTime",
+ Some("url" | "ssh-url") => "url::Url",
_ => "String",
}
.to_string(),