Fix network documentation

This commit is contained in:
Mubelotix
2025-07-29 16:47:28 +02:00
parent 5e867f7ce0
commit 5567653c96

View File

@ -51,7 +51,7 @@ pub fn configure(cfg: &mut web::ServiceConfig) {
get, get,
path = "", path = "",
tag = "Network", tag = "Network",
security(("Bearer" = ["network.get", "network.*", "*"])), security(("Bearer" = ["network.get", "*"])),
responses( responses(
(status = OK, description = "Known nodes are returned", body = Network, content_type = "application/json", example = json!( (status = OK, description = "Known nodes are returned", body = Network, content_type = "application/json", example = json!(
{ {