From 9177146794c189d3783d93d383356802e759269b Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Wed, 6 May 2026 23:41:31 +0200 Subject: [PATCH] radicle/web: Fix schema of `Config::description` The JSON Schema for the field `radicle::web::Config::description` is specified to be a URI, which is wrong. Remove the additional attribute. --- crates/radicle-cli/examples/rad-config.md | 3 +-- crates/radicle/src/web.rs | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/radicle-cli/examples/rad-config.md b/crates/radicle-cli/examples/rad-config.md index efbb0762..bb662cd1 100644 --- a/crates/radicle-cli/examples/rad-config.md +++ b/crates/radicle-cli/examples/rad-config.md @@ -141,8 +141,7 @@ $ rad config schema "type": [ "string", "null" - ], - "format": "uri" + ] } } }, diff --git a/crates/radicle/src/web.rs b/crates/radicle/src/web.rs index 4af339f5..b7316697 100644 --- a/crates/radicle/src/web.rs +++ b/crates/radicle/src/web.rs @@ -25,7 +25,6 @@ pub struct Config { pub avatar_url: Option, /// Node description. #[serde(default, skip_serializing_if = "Option::is_none")] - #[cfg_attr(feature = "schemars", schemars(url))] pub description: Option, }