diff --git a/src/main/kotlin/com/restaurant/be/restaurant/presentation/controller/GetKingoPassController.kt b/src/main/kotlin/com/restaurant/be/restaurant/presentation/controller/GetKingoPassController.kt deleted file mode 100644 index 6628dad..0000000 --- a/src/main/kotlin/com/restaurant/be/restaurant/presentation/controller/GetKingoPassController.kt +++ /dev/null @@ -1,32 +0,0 @@ -package com.restaurant.be.restaurant.presentation.controller - -import com.restaurant.be.common.response.CommonResponse -import com.restaurant.be.restaurant.presentation.dto.GetKingoPassResponse -import io.swagger.annotations.Api -import io.swagger.annotations.ApiOperation -import io.swagger.v3.oas.annotations.media.Content -import io.swagger.v3.oas.annotations.media.Schema -import io.swagger.v3.oas.annotations.responses.ApiResponse -import org.springframework.security.access.prepost.PreAuthorize -import org.springframework.web.bind.annotation.GetMapping -import org.springframework.web.bind.annotation.RequestMapping -import org.springframework.web.bind.annotation.RestController -import java.security.Principal - -@Api(tags = ["02. Restaurant Info"], description = "음식점 서비스") -@RestController -@RequestMapping("/v1/restaurants/kingo-pass") -class GetKingoPassController { - - @GetMapping - @PreAuthorize("hasRole('USER')") - @ApiOperation(value = "성대 킹고 패스 음식점 리스트 조회 API") - @ApiResponse( - responseCode = "200", - description = "성공", - content = [Content(schema = Schema(implementation = GetKingoPassResponse::class))] - ) - fun getRecentHighReview(principal: Principal): CommonResponse { - return CommonResponse.success() - } -} diff --git a/src/main/kotlin/com/restaurant/be/restaurant/presentation/dto/GetKingoPassDto.kt b/src/main/kotlin/com/restaurant/be/restaurant/presentation/dto/GetKingoPassDto.kt deleted file mode 100644 index 6de7c5d..0000000 --- a/src/main/kotlin/com/restaurant/be/restaurant/presentation/dto/GetKingoPassDto.kt +++ /dev/null @@ -1,11 +0,0 @@ -@file:Suppress("ktlint", "MatchingDeclarationName") - -package com.restaurant.be.restaurant.presentation.dto - -import com.restaurant.be.restaurant.presentation.dto.common.RestaurantDto -import io.swagger.v3.oas.annotations.media.Schema - -data class GetKingoPassResponse( - @Schema(description = "킹고패스 식당 리스트") - val restaurants: List -)