feat(presentation): OpenAPI docs at /docs (Swagger) and /scalar
This commit is contained in:
5
crates/presentation/src/openapi/health.rs
Normal file
5
crates/presentation/src/openapi/health.rs
Normal file
@@ -0,0 +1,5 @@
|
||||
use utoipa::OpenApi;
|
||||
|
||||
#[derive(OpenApi)]
|
||||
#[openapi(paths(crate::handlers::health::health_handler))]
|
||||
pub struct HealthDoc;
|
||||
Reference in New Issue
Block a user