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,28 @@
use api_types::{
ProfileFieldDto, ProfileResponse, ProfileViewData, UpdateProfileFieldsRequest, UserProfileBase,
UserProfileResponse, UserStatsDto, UserSummaryDto, UsersResponse,
};
use utoipa::OpenApi;
#[derive(OpenApi)]
#[openapi(
paths(
crate::handlers::users::list_users,
crate::handlers::users::get_user_profile,
crate::handlers::users::get_profile,
crate::handlers::users::update_profile_handler,
crate::handlers::users::update_profile_fields_handler,
),
components(schemas(
UsersResponse,
UserSummaryDto,
UserProfileBase,
UserProfileResponse,
ProfileViewData,
UserStatsDto,
ProfileResponse,
UpdateProfileFieldsRequest,
ProfileFieldDto,
))
)]
pub struct UsersDoc;