feat: expose display_name, also_known_as, profile fields in GET /profile

This commit is contained in:
2026-06-04 02:58:12 +02:00
parent cf2f4a1b4f
commit 15dc0e526b
3 changed files with 33 additions and 0 deletions

View File

@@ -84,9 +84,12 @@ pub struct UserProfileResponse {
#[derive(Debug, Clone, Serialize, Deserialize, utoipa::ToSchema)]
pub struct ProfileResponse {
pub username: String,
pub display_name: Option<String>,
pub bio: Option<String>,
pub avatar_url: Option<String>,
pub banner_url: Option<String>,
pub also_known_as: Option<String>,
pub fields: Vec<ProfileFieldDto>,
pub role: String,
}