Skip to content

Commit

Permalink
Merge pull request #57 from Team-KeepGoing/feature/device
Browse files Browse the repository at this point in the history
Fix :: fix typo + swagger desc
  • Loading branch information
miraexhoi authored Jun 18, 2024
2 parents dc13176 + 1b29985 commit ec0db85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ public BaseResponse deviceRead(@PathVariable("id") Long id){
return deviceService.deviceRead(id);
}

@Operation(summary = "나의 기자재 대여 현황", description = "내가 대여 중인 기자재의 정보를 확인합니다.")
@Operation(summary = "나의 기자재 대여 현황", description = "토큰을 통해 내가 대여 중인 기자재의 정보를 확인합니다.")
@GetMapping("/my")
public BaseResponse myDevices(Authentication authentication){
return deviceService.myDevices(authentication);
}

@Operation(summary = "기자재 삭제" , description = "선택한 기자재를 삭제합니다.")
@Operation(summary = "기자재 삭제" , description = "선택한 기자재를 삭제합니다. 교사만 수정 가능 합니다. 토큰도 함께 보내주세요.")
@DeleteMapping("/delete/{id}")
public BaseResponse deleteDevice(@PathVariable Long id, Authentication authentication){
return deviceService.deleteDevice(id, authentication);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
public class UserProfileDto {
private User user;
private List<DeviceResponseDto> borrowedDevices;
private List<BookResponseDto> brrowedBooks;
private List<BookResponseDto> borrowedBooks;
}

0 comments on commit ec0db85

Please sign in to comment.