1 2 3 4 5 6 7 8 9 10
use axum::{http::Uri, Json}; use axum_macros::debug_handler; #[debug_handler] async fn one(_: Json<()>, _: Uri) {} #[debug_handler] async fn two(_: String, _: Uri) {} fn main() {}