bugfix: remove unnecessary arguments for nym-api swagger endpoints (#5272)

* removed incorrect body argument for '/rewarded-set' endpoint

* removed incorrect pagination parameters for monitor run results
This commit is contained in:
Jędrzej Stuczyński
2024-12-19 10:42:52 +00:00
committed by GitHub
parent 53c28af847
commit ae346bb75b
2 changed files with 0 additions and 7 deletions
@@ -347,9 +347,6 @@ async fn _latest_monitor_run_report(
#[utoipa::path(
tag = "UNSTABLE - DO **NOT** USE",
get,
params(
PaginationRequest
),
path = "/v1/status/network-monitor/unstable/run/{monitor_run_id}/details",
responses(
(status = 200, body = NetworkMonitorRunDetailsResponse)
@@ -370,9 +367,6 @@ pub async fn monitor_run_report(
#[utoipa::path(
tag = "UNSTABLE - DO **NOT** USE",
get,
params(
PaginationRequest
),
path = "/v1/status/network-monitor/unstable/run/latest/details",
responses(
(status = 200, body = NetworkMonitorRunDetailsResponse)
-1
View File
@@ -51,7 +51,6 @@ pub(crate) fn nym_node_routes() -> Router<AppState> {
#[utoipa::path(
tag = "Nym Nodes",
get,
request_body = NodeRefreshBody,
path = "/rewarded-set",
context_path = "/v1/nym-nodes",
responses(