Skip to content

Commit

Permalink
[ADD] #174 - dto Swagger 설명 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kimahhh committed Feb 7, 2023
1 parent 24bf7e4 commit 892011b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main/java/shop/cazait/domain/cafe/dto/GetCafeRes.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class GetCafeRes {
@Schema(description = "카페 ID", example = "1")
private Long cafeId;
@JsonProperty
@Schema(description = "혼잡도 ID", example = "FREE")
@Schema(description = "혼잡도 상태", example = "FREE")
private CongestionStatus congestionStatus;
@JsonProperty
@Schema(description = "이름", example = "롬곡")
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/shop/cazait/domain/cafe/dto/GetCafesRes.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class GetCafesRes {
@Schema(description = "카페 ID", example = "1")
private Long cafeId;
@JsonProperty
@Schema(description = "혼잡도 ID", example = "FREE")
@Schema(description = "혼잡도 상태", example = "FREE")
private CongestionStatus congestionStatus;
@JsonProperty
@Schema(description = "이름", example = "롬곡")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
@NoArgsConstructor(access = AccessLevel.PROTECTED)
public class PostDistanceReq {

@Schema(description = "경도", example = "127.543215")
@Schema(description = "유저 경도", example = "127.543215")
private String longitude;

@Schema(description = "위도", example = "36.987561")
@Schema(description = "유저 위도", example = "36.987561")
private String latitude;

@Schema(description = "정렬 기준(congestion: 혼잡도순, distance: 거리순)", example = "congestion")
private String sort;

@Schema(description = "제한 거리(0일 때는 모든 카페 출력), 해당 거리 내에 있는 카페 전달, 단위는 m(미터)", example = "500")
@Schema(description = "제한 거리(0일 때는 모든 카페 출력) : 해당 거리 내에 있는 카페 전달, 단위는 m(미터)", example = "500")

private String limit;

Expand Down

0 comments on commit 892011b

Please sign in to comment.