@startuml test-complex !theme mono title User Service - 회원가입 내부 시퀀스 participant "UserController" as Controller <> participant "Redis\nCache" as Redis <> participant "User DB\n(PostgreSQL)" as UserDB <> [-> Controller: POST /api/users/register\n(RegisterRequest DTO) activate Controller Controller -> Controller: @Valid 어노테이션 검증\n(이메일 형식, 비밀번호 8자 이상 등) alt 중복 사용자 존재 Controller --> [: 400 Bad Request\n{"error": "이미 가입된 전화번호입니다"} deactivate Controller else 신규 사용자 Controller --> [: 201 Created deactivate Controller end @enduml