Skip to content

Commit

Permalink
refactor: api에 관한 설명 변경 (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
wjd4204 committed Jan 22, 2024
1 parent 81a02c1 commit 5ee59c7
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ public class SearchController {
@Operation(summary = "해답 블로그 반환", description = "원하는 문제와 언어를 검색하여 " +
"백준 해답 블로그 리스트를 제공합니다.")
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "해답 제시 성공",
content = @Content(mediaType = MediaType.MULTIPART_FORM_DATA_VALUE,
schema = @Schema(implementation = PostResponse.class)))
@ApiResponse(responseCode = "200", description = "해답 제시 성공")
})
@GetMapping
public SuccessResponse<GoogleListResponseDto> getList(@RequestParam String query){
Expand All @@ -45,9 +43,7 @@ public SuccessResponse<GoogleListResponseDto> getList(@RequestParam String query
@Operation(summary = "해답 블로그 새로고침 수행", description = "처음 반환한 해답 블로그 리스트 외에 더 보고 싶은 블로그가 있다면" +
" 새로고침을 통해 다른 리스트 제공")
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "새로고침 성공",
content = @Content(mediaType = MediaType.MULTIPART_FORM_DATA_VALUE,
schema = @Schema(implementation = PostResponse.class)))
@ApiResponse(responseCode = "200", description = "새로고침 성공")
})
@GetMapping("/refresh")
public SuccessResponse<GoogleListResponseDto> getRefresh(@RequestParam String query, @RequestParam(value = "start") int index){
Expand Down

0 comments on commit 5ee59c7

Please sign in to comment.