Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[jinyoungchoi95] 현재 유저 정보 반환 및 업데이트 기능 구현 #16

Closed
2 tasks done
jinyoungchoi95 opened this issue Aug 5, 2021 · 0 comments
Closed
2 tasks done
Assignees
Labels
feature ori 오리의 이슈 user

Comments

@jinyoungchoi95
Copy link
Member

jinyoungchoi95 commented Aug 5, 2021

[AS-IS]

[TO-BE]

  • GET /api/user
  • PUT /api/user
@jinyoungchoi95 jinyoungchoi95 added feature ori 오리의 이슈 user labels Aug 5, 2021
@jinyoungchoi95 jinyoungchoi95 self-assigned this Aug 5, 2021
jinyoungchoi95 added a commit that referenced this issue Aug 20, 2021
- findById()
      > Optional<User> 반환
jinyoungchoi95 added a commit that referenced this issue Aug 20, 2021
jinyoungchoi95 added a commit that referenced this issue Aug 21, 2021
- UserService.update() : 현재 유저가 존재하지 않을 경우 exception
    - username : 현재 username 중복, repository 중복 값 불가
    - email : 현재 email 중복, repository 중복 값 불가
    - password : 현재 password 중복 불가
    - bio : 현재 bio 중복 불가
    - image : 현재 image 중복 불가

- UserUpdateModel : 유저 업데이트용 파라메터 모델
jinyoungchoi95 added a commit that referenced this issue Aug 21, 2021
- rest docs 생성 시 null이 들어가는 것을 금지하므로 optional()을 통해 이를 허용
jinyoungchoi95 added a commit that referenced this issue Aug 28, 2021
jinyoungchoi95 added a commit that referenced this issue Aug 28, 2021
jinyoungchoi95 added a commit that referenced this issue Aug 28, 2021
jinyoungchoi95 added a commit that referenced this issue Aug 28, 2021
jinyoungchoi95 added a commit that referenced this issue Aug 28, 2021
jinyoungchoi95 added a commit that referenced this issue Aug 28, 2021
jinyoungchoi95 added a commit that referenced this issue Aug 28, 2021
jinyoungchoi95 added a commit that referenced this issue Aug 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature ori 오리의 이슈 user
Projects
None yet
Development

No branches or pull requests

1 participant