feat: wrap-up REST API endpoints
This commit is contained in:
18
crates/presentation/src/openapi/wrapup.rs
Normal file
18
crates/presentation/src/openapi/wrapup.rs
Normal file
@@ -0,0 +1,18 @@
|
||||
use utoipa::OpenApi;
|
||||
|
||||
#[derive(OpenApi)]
|
||||
#[openapi(
|
||||
paths(
|
||||
crate::handlers::wrapup::post_generate,
|
||||
crate::handlers::wrapup::get_list,
|
||||
crate::handlers::wrapup::get_status,
|
||||
crate::handlers::wrapup::get_report,
|
||||
),
|
||||
components(schemas(
|
||||
api_types::wrapup::GenerateWrapUpRequest,
|
||||
api_types::wrapup::WrapUpGeneratedResponse,
|
||||
api_types::wrapup::WrapUpStatusResponse,
|
||||
api_types::wrapup::WrapUpListResponse,
|
||||
))
|
||||
)]
|
||||
pub struct WrapUpDoc;
|
||||
Reference in New Issue
Block a user