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.
This commit is contained in:
Lorenz Leutgeb 2026-05-06 23:41:31 +02:00 committed by Fintan Halpenny
parent ee9a9de36d
commit 9177146794
2 changed files with 1 additions and 3 deletions

View File

@ -141,8 +141,7 @@ $ rad config schema
"type": [
"string",
"null"
],
"format": "uri"
]
}
}
},

View File

@ -25,7 +25,6 @@ pub struct Config {
pub avatar_url: Option<String>,
/// Node description.
#[serde(default, skip_serializing_if = "Option::is_none")]
#[cfg_attr(feature = "schemars", schemars(url))]
pub description: Option<String>,
}