blob: e70dccd0b273d2d4e5edb3fbcb572821bc975ed0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
mod routing;
use utoipa_axum::{router::OpenApiRouter, routes};
use crate::state::AppHandle;
pub fn router(store: AppHandle) -> OpenApiRouter {
OpenApiRouter::new()
.routes(routes!(routing::get_active::active_routing))
.with_state(store)
}
|