Skip to content

Commit

Permalink
bugfix: remove unnecessary arguments for nym-api swagger endpoints (#…
Browse files Browse the repository at this point in the history
…5272)

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

* removed incorrect pagination parameters for monitor run results
  • Loading branch information
jstuczyn authored Dec 19, 2024
1 parent 53c28af commit ae346bb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions nym-api/src/node_status_api/handlers/unstable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down
1 change: 0 additions & 1 deletion nym-api/src/nym_nodes/handlers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit ae346bb

Please sign in to comment.