fix: manually specify params

This commit is contained in:
Zomatree
2025-11-18 14:57:34 +00:00
parent d198796fde
commit 7780aa69c0
76 changed files with 298 additions and 33 deletions

View File

@@ -13,7 +13,10 @@ use rocket::{serde::json::Json, State};
#[utoipa::path(
tag = "Server Information",
security(("Session-Token" = []), ("Bot-Token" = [])),
params(v0::OptionsFetchServer),
params(
("target" = Reference, Path),
v0::OptionsFetchServer
),
responses(
(status = 200, body = v0::Server),
),