swarm-controller: POST /api/notify/dry-run runs a draft flows document
This commit is contained in:
parent
19680a8b78
commit
e8538d8690
1 changed files with 245 additions and 22 deletions
|
|
@ -645,7 +645,10 @@ pub(crate) fn build_app(state: AppState) -> axum::Router {
|
|||
))
|
||||
.routes(routes!(notify_flows::get_flows, notify_flows::put_flows))
|
||||
.routes(routes!(notify_router_api::get_deliveries))
|
||||
.routes(routes!(notify_router_api::get_dry_run))
|
||||
.routes(routes!(
|
||||
notify_router_api::get_dry_run,
|
||||
notify_router_api::post_dry_run
|
||||
))
|
||||
.routes(routes!(webhook::post_webhook_forge))
|
||||
.split_for_parts();
|
||||
// Just the JSON, not the UI — Swagger UI itself is nginx-hosted from
|
||||
|
|
|
|||
Loading…
Reference in a new issue