feat(presentation): handlers, OpenAPI/Scalar, routes, extractors

This commit is contained in:
2026-05-18 00:07:07 +02:00
parent 4cab050ee8
commit 5d926e0f61
14 changed files with 516 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
use axum::{http::StatusCode, Json};
use serde_json::json;
#[utoipa::path(get, path = "/health", responses((status = 200, description = "Service is healthy")))]
pub async fn health() -> (StatusCode, Json<serde_json::Value>) {
(StatusCode::OK, Json(json!({ "status": "ok" })))
}