-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: Type CUSTOM으로 변경 * chore: 스웨거 추가
- Loading branch information
Showing
7 changed files
with
31 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
...main/java/org/layer/domain/answer/controller/dto/response/PersonAndAnswerGetResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
package org.layer.domain.answer.controller.dto.response; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
|
||
@Schema(name = "PersonAndAnswerGetResponse", description = "개인-답변 응답 Dto") | ||
public record PersonAndAnswerGetResponse( | ||
@Schema(description = "답변자", example = "홍길동") | ||
String name, | ||
@Schema(description = "답변 내용", example = "답변 내용입니당") | ||
String answerContent | ||
) { | ||
} |
6 changes: 6 additions & 0 deletions
6
...in/java/org/layer/domain/answer/controller/dto/response/QuestionAndAnswerGetResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
package org.layer.domain.answer.controller.dto.response; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
|
||
@Schema(name = "QuestionAndAnswerGetResponse", description = "질문-답변 Dto") | ||
public record QuestionAndAnswerGetResponse( | ||
@Schema(description = "질문 내용", example = "질문 내용입니다.") | ||
String questionContent, | ||
@Schema(description = "질문 타입", example = "plain_text") | ||
String questionType, | ||
@Schema(description = "답변 내용", example = "답변 내용입니다.") | ||
String answerContent | ||
) { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters