kt-event-marketing/debug/puml-validation/user-프로필수정.puml.error.txt
2025-10-22 14:13:57 +09:00

33 lines
2.8 KiB
Plaintext

[From string (line 45) ]
@startuml user-프로필수정
...
... ( skipping 191 lines )
...
Controller -> Controller: @Valid 어노테이션 검증\n(이메일 형식, 필드 길이 등)
Controller -> Service: updateProfile(userId, UpdateProfileRequest)
activate Service
== 1단계: 기존 사용자 정보 조회 ==
Service -> UserRepo: findById(userId)
activate UserRepo
UserRepo -> UserDB: SELECT * FROM users\nWHERE user_id = ?
activate UserDB
UserDB --> UserRepo: 사용자 정보
deactivate UserDB
UserRepo --> Service: User 엔티티
deactivate UserRepo
alt 사용자 없음
Service --> Controller: throw UserNotFoundException\n("사용자를 찾을 수 없습니다")
Controller --> [: 404 Not Found\n{"error": "사용자를 찾을 수 없습니다"}
^^^^^
Syntax Error? (Assumed diagram type: sequence)