refactor: presentation becomes http-axum adapter, absorbs templates

This commit is contained in:
2026-10-25 21:34:09 +01:00
parent 2875594ed9
commit a931fb548f
94 changed files with 99 additions and 126 deletions

View File

@@ -0,0 +1,21 @@
use api_types::{
AddToWatchlistRequest, WatchlistEntryDto, WatchlistResponse, WatchlistStatusResponse,
};
use utoipa::OpenApi;
#[derive(OpenApi)]
#[openapi(
paths(
crate::handlers::watchlist::get_watchlist_handler,
crate::handlers::watchlist::post_watchlist_add,
crate::handlers::watchlist::delete_watchlist_entry,
crate::handlers::watchlist::get_watchlist_status,
),
components(schemas(
WatchlistResponse,
WatchlistEntryDto,
AddToWatchlistRequest,
WatchlistStatusResponse,
))
)]
pub struct WatchlistDoc;