feat: account deletion endpoints
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
use api_types::{
|
||||
ProfileFieldDto, ProfileResponse, ProfileViewData, UpdateProfileFieldsRequest, UserProfileBase,
|
||||
UserProfileResponse, UserStatsDto, UserSummaryDto, UsersResponse,
|
||||
DeleteAccountRequest, ProfileFieldDto, ProfileResponse, ProfileViewData,
|
||||
UpdateProfileFieldsRequest, UserProfileBase, UserProfileResponse, UserStatsDto, UserSummaryDto,
|
||||
UsersResponse,
|
||||
};
|
||||
use utoipa::OpenApi;
|
||||
|
||||
@@ -12,6 +13,8 @@ use utoipa::OpenApi;
|
||||
crate::api::users::get_profile,
|
||||
crate::api::users::update_profile_handler,
|
||||
crate::api::users::update_profile_fields_handler,
|
||||
crate::api::users::delete_me,
|
||||
crate::api::users::delete_user,
|
||||
),
|
||||
components(schemas(
|
||||
UsersResponse,
|
||||
@@ -23,6 +26,7 @@ use utoipa::OpenApi;
|
||||
ProfileResponse,
|
||||
UpdateProfileFieldsRequest,
|
||||
ProfileFieldDto,
|
||||
DeleteAccountRequest,
|
||||
))
|
||||
)]
|
||||
pub struct UsersDoc;
|
||||
|
||||
Reference in New Issue
Block a user