Skip to content

Commit

Permalink
[Chore] 스웨거 external, internal 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
JeongSangByuk committed Feb 6, 2023
1 parent 58ef605 commit ca17306
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,24 @@ public class MbrController {

private final MbrService mbrService;

@Operation(summary = "멤버 단일 조회", responses = {
@ApiResponse(responseCode = "200", description = "멤버 조회 성공"),
@Operation(summary = "[external] 멤버 단일 조회", responses = {
@ApiResponse(responseCode = "200", description = "멤버 조회 성공입니다."),
@ApiResponse(responseCode = "404", description = "일치하는 멤버 ID가 존재하지 않습니다.", content = @Content(schema = @Schema(implementation = ErrorResponse.class))),
})
@GetMapping("/mbr/{mbrId}")
public ResponseEntity<SuccessResponse<MbrFindResponse>> findMbr(@PathVariable Long mbrId) {
return SuccessResponse.success(SuccessCode.FIND_MBR_SUCCESS, mbrService.findMbr(mbrId));
}

@Operation(summary = "멤버 리스트 조회", responses = {
@ApiResponse(responseCode = "200", description = "멤버 조회 성공")
@Operation(summary = "[internal] 멤버 리스트 조회", responses = {
@ApiResponse(responseCode = "200", description = "멤버 조회 성공입니다.")
})
@GetMapping(value = "/mbr-list", params = "mbrIdList")
public ResponseEntity<SuccessResponse<MbrFindListResponse>> findMbrList(@RequestParam List<Long> mbrIdList) {
return SuccessResponse.success(SuccessCode.FIND_MBR_SUCCESS, mbrService.findMbrList(mbrIdList));
}

@Operation(summary = "멤버 로그인", responses = {
@Operation(summary = "[external] 멤버 로그인", responses = {
@ApiResponse(responseCode = "201", description = "로그인 성공입니다."),
@ApiResponse(responseCode = "401", description = "비밀번호 불일치 401 에러입니다.", content = @Content(schema = @Schema(implementation = ErrorResponse.class))),
@ApiResponse(responseCode = "404", description = "일치하는 멤버 로그인 ID가 존재하지 않습니다.", content = @Content(schema = @Schema(implementation = ErrorResponse.class))),
Expand Down

0 comments on commit ca17306

Please sign in to comment.