Skip to content

Commit

Permalink
docs: picked-detail API swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
toychip committed Jul 18, 2024
1 parent 8cc0c40 commit 3954526
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion api/src/main/kotlin/com/mashup/dojo/PickController.kt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,14 @@ class PickController(
return DojoApiResponse.success(ReceivedPickListGetResponse(pickResponseList, sort))
}

@GetMapping("/pickDetail")
@GetMapping("/picked-detail")
@Operation(
summary = "내가 받은 픽 중 특정 질문 페이징 API",
description = "내가 픽 중 특정 질문을 페이징하여 보여주는 API. questionId : 특정 질문의 Id",
responses = [
ApiResponse(responseCode = "200", description = "내가 받은 픽 중 특정 질문의 페이징")
]
)
fun getPickDetail(
@RequestParam questionId: String,
@RequestParam(required = false, defaultValue = "0") pageNumber: Int,
Expand Down

0 comments on commit 3954526

Please sign in to comment.