use axum::response::Html; use axum::Router; use axum::routing::get; use crate::modes::server::AppState; pub async fn handle_swagger_ui() -> Html<&'static str> { let html = r#" Keep API Documentation
"#; Html(html) } pub fn add_routes(router: Router) -> Router { router // Documentation endpoints .route("/swagger", get(handle_swagger_ui)) }