Get user profile #7

Merged
phoenix merged 14 commits from get_user_profile into main 2026-10-08 17:17:36 -04:00
Showing only changes of commit 4d4a85b992 - Show all commits
-19
View File
@@ -12,22 +12,3 @@ pub mod endpoints {
pub const REFRESH_TOKEN: &str = "/api/v2/token/refresh";
pub const GET_USER_PROFILE: &str = "/api/v2/user/profile/{id}";
}
/*
/// Endpoint to get user profile
#[utoipa::path(
get,
path = super::super::endpoints::GET_USER_PROFILE,
params(("id" = uuid::Uuid, Path, description = "Get user profile")),
responses(
(status = 200, description = "User profileRequestRequest found", body = super::response::GetUserProfileRequest)),
(status = 404, description = "Song not found", body = super::response::GetUserProfileRequest)),
(status = 400, description = "Error downloading song", super::response::GetUserProfileRequest)),
)
)]
pub async fn get_user_profile(
axum::Extension(pool): axum::Extension<sqlx::PgPool>,
axum::extract::Path(id): axum::extract::Path<uuid::Uuid>,
) -> (axum::http::StatusCode, axum::Json<axum::response::GetUserProfileResponse>) {
}
*/