Skip to content

Commit

Permalink
refactor: #140-Swagger 문서 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueBerrySoda committed May 4, 2024
1 parent db4dd53 commit 0673f0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public ResponseEntity<ApiResult<FAQEntireResponse>> createFAQ( @Parameter(descri

@GetMapping("/read")
@Operation(summary = "FAQ글 읽기", description = "FAQ글을 읽어 반환합니다.")
@ApiResponse(responseCode = "200", description = "FAQ글의 내용이 담긴 content와 첨부이미지 주소가 담긴 imgUrl이 반환됩니다.")
@ApiResponse(responseCode = "200", description = "FAQ글의 내용이 담긴 faqResponse와 첨부이미지 주소가 담긴 imgUrl이 반환됩니다.")
public ResponseEntity<ApiResult<FAQEntireResponse>> readFAQ( @Parameter(description = "읽을 FAQ글의 id가 필요합니다.", required = true)
@RequestParam Long id) {
FAQResponse faqResponse = faqService.getFAQ(id);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public ResponseEntity<ApiResult<QuestionEntireResponse>> readQuestion(
@Operation(summary = "질문글 수정", description = "request 정보를 기반으로 질문글을 수정합니다.")
@ApiResponse(responseCode = "200", description = "완료시 200을 리턴합니다.")
public ResponseEntity<ApiResult<Integer>> updateQuestion(/*@RequestHeader String token,*/
@Parameter(description = "수정할 질문글의 id와 질문글의 content가 들어갑니다.", required = true)
@Parameter(description = "수정할 질문글의 id와 질문글의 request가 들어갑니다.", required = true)
@RequestBody QuestionPutRequest request) {
String userId = UUID.randomUUID().toString();//jwtTokenProvider.extractUUID(token);
questionService.updateQuestion(userId, request);
Expand Down

0 comments on commit 0673f0e

Please sign in to comment.