refactor: presentation becomes http-axum adapter, absorbs templates
This commit is contained in:
8
crates/adapters/http-axum/src/openapi/insights.rs
Normal file
8
crates/adapters/http-axum/src/openapi/insights.rs
Normal file
@@ -0,0 +1,8 @@
|
||||
use utoipa::OpenApi;
|
||||
|
||||
#[derive(OpenApi)]
|
||||
#[openapi(
|
||||
paths(crate::handlers::insights::get_insights,),
|
||||
components(schemas(api_types::insights::InsightsResponse, api_types::insights::InsightDto,))
|
||||
)]
|
||||
pub struct InsightsDoc;
|
||||
Reference in New Issue
Block a user