Skip to content

Commit

Permalink
[FIX] fix swagger docs
Browse files Browse the repository at this point in the history
  • Loading branch information
thguss committed Aug 15, 2024
1 parent 808ad63 commit 9fa3197
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import io.swagger.v3.oas.annotations.media.Schema;

public record MemberDailyRoutinesCreateRequest(
@Schema(description = "추가하려는 루틴 id 목록", example = "1,2,3")
@Schema(description = "추가하려는 루틴 id 목록", example = "[1, 2, 3]")
List<Long> routineIds
) {
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ ResponseEntity<SuccessResponse<MemberDailyRoutineListAcquireResponseV2>> acquire
summary = "데일리 루틴 다중 추가",
description = "회원의 데일리 루틴을 다중으로 추가한다.",
responses = {
@ApiResponse(responseCode = "200", description = "성공"),
@ApiResponse(
responseCode = "200",
description = "성공",
content = @Content(schema = @Schema(implementation = SuccessResponse.class))),
@ApiResponse(
responseCode = "401",
description = "유효하지 않은 토큰",
Expand Down

0 comments on commit 9fa3197

Please sign in to comment.