Skip to content

Commit

Permalink
📝 Docs : swagger api 응답 표기 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
CYY1007 committed Oct 10, 2023
1 parent c15da12 commit c9c3990
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,10 @@
@Schema(description = "기본 응답")
public class ResponseDto<T> {

@Schema(description = "성공 유무", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
@JsonProperty("isSuccess")
private final Boolean isSuccess;
@Schema(description = "응답 코드", requiredMode = Schema.RequiredMode.REQUIRED, example = "2000")
private final Integer code;
@Schema(description = "응답 메시지", requiredMode = Schema.RequiredMode.REQUIRED, example = "요청에 성공하였습니다.")
private final String message;
@Schema(description = "응답 결과", requiredMode = Schema.RequiredMode.REQUIRED, example = "응답 결과")
private T result;


Expand Down

0 comments on commit c9c3990

Please sign in to comment.