Skip to content

Commit

Permalink
스웨거 문서 업데이트
Browse files Browse the repository at this point in the history
  • Loading branch information
JeaSungLEE committed Jan 26, 2020
1 parent 70d3523 commit c033131
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ www.spacedeploy.pw
```
Authorization: token
Provider: facebook | kakao |instgram
TimeZone: ex) Asia/Seoul
```
### Time Formmat
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class RemindController() {

@ApiOperation(value = "회고 수정", notes = "회고 수정")
@PutMapping()
fun editRemind(request: HttpServletRequest): ResponseEntity<RemindDto> {
fun editRemind(editRemindDto: EditRemindDto, request: HttpServletRequest): ResponseEntity<RemindDto> {
val token = request.getHeader("Authorization")
val provider = request.getHeader("Provider")
val userInfoJson = getUID(token, provider)
Expand All @@ -42,7 +42,7 @@ class RemindController() {

@ApiOperation(value = "회고 삭제", notes = "회고 삭제")
@DeleteMapping()
fun deleteRemind(request: HttpServletRequest) {
fun deleteRemind(editRemindDto: EditRemindDto, request: HttpServletRequest) {
val token = request.getHeader("Authorization")
val provider = request.getHeader("Provider")
val userInfoJson = getUID(token, provider)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ data class SpecificRemindListDto(
val remind: ArrayList<RemindListDto>?
)

data class EditRemindDto(
val remindId: Long
)

data class RemindListDto(
val remindId: Long,
val bestEmotion: Int,
Expand Down

0 comments on commit c033131

Please sign in to comment.