Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[etc] Store custom example 삭제 #87

Merged
merged 1 commit into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,18 @@ import com.fasterxml.jackson.annotation.JsonUnwrapped
import com.mjucow.eatda.common.vo.PhoneNumber
import com.mjucow.eatda.common.vo.Point
import com.mjucow.eatda.domain.store.entity.Store
import io.swagger.v3.oas.annotations.media.Schema

data class StoreDto(
@Schema(name = "id", example = "5")
val id: Long,
@Schema(name = "displayedName", example = "명지대학교")
val displayedName: String,
@Schema(name = "address", example = "서울특별시 서대문구 거북골로 34")
val address: String,
@JsonUnwrapped val phoneNumber: PhoneNumber? = null,
@JsonUnwrapped
val phoneNumber: PhoneNumber? = null,
@Schema(name = "imageAddress", example = "/eatda/public/store/232D8241-C6A9-4AD9-B0EA-56F6DD24BADF.jpg")
val imageAddress: String? = null,
val location: Point? = null,
) {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import com.mjucow.eatda.domain.store.service.query.dto.MenuList
import com.mjucow.eatda.domain.store.service.query.dto.StoreDetailDto
import com.mjucow.eatda.domain.store.service.query.dto.StoreDto
import com.mjucow.eatda.presentation.common.ApiResponse
import com.mjucow.eatda.presentation.common.example.StoreDtosApiResponse
import io.swagger.v3.oas.annotations.Operation
import io.swagger.v3.oas.annotations.tags.Tag

Expand All @@ -19,7 +18,6 @@ interface StoreApiPresentation {
fun create(command: StoreCreateCommand): ApiResponse<Long>

@Operation(summary = "커서 기반 카테고리 가게 조회", description = "커서를 기반으로 가게를 조회합니다.")
@StoreDtosApiResponse
fun findAllByCategoryIdAndCursor(
cursor: Long?,
categoryId: Long?,
Expand Down
Loading