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:
committed by
GitHub
parent
53c28af847
commit
ae346bb75b
@@ -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)
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user