macro_rules! router_with_docs {
(title=$title:literal, handlers=[
$($handler:path $(,)? )*
]
$(, layers=[
$(
$layer:expr $(,)?
)*
])?
) => { ... };
}Expand description
Create a RouterAndDocs instance and register each of the handlers into it.
Each handler must be an axum compatible handler
that has a utoipa::path annotation to define
its method and path.