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:
parent
ee9a9de36d
commit
9177146794
|
|
@ -141,8 +141,7 @@ $ rad config schema
|
|||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"format": "uri"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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>,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue