File tree Expand file tree Collapse file tree
casper-application-infrastructure/src/main/kotlin/hs/kr/entrydsm/application/domain/pass/presentation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import hs.kr.entrydsm.application.domain.application.usecase.QueryIsFirstRoundPa
44import hs.kr.entrydsm.application.domain.application.usecase.QueryIsSecondRoundPassUseCase
55import hs.kr.entrydsm.application.domain.pass.presentation.dto.response.QueryIsFirstRoundPassResponse
66import hs.kr.entrydsm.application.domain.pass.presentation.dto.response.QueryIsSecondRoundPassResponse
7+ import hs.kr.entrydsm.application.global.document.pass.PassApiDocument
78import org.springframework.web.bind.annotation.GetMapping
89import org.springframework.web.bind.annotation.RequestMapping
910import org.springframework.web.bind.annotation.RestController
@@ -13,12 +14,12 @@ import org.springframework.web.bind.annotation.RestController
1314class WebPassAdapter (
1415 private val queryIsFirstRoundPassUseCase : QueryIsFirstRoundPassUseCase ,
1516 private val queryIsSecondRoundPassUseCase : QueryIsSecondRoundPassUseCase
16- ) {
17+ ) : PassApiDocument {
1718 @GetMapping(" /first-round" )
18- suspend fun queryIsFirstRound (): QueryIsFirstRoundPassResponse =
19+ override suspend fun queryIsFirstRound (): QueryIsFirstRoundPassResponse =
1920 queryIsFirstRoundPassUseCase.execute()
2021
2122 @GetMapping(" /second-round" )
22- suspend fun queryIsSecondRound (): QueryIsSecondRoundPassResponse =
23+ override suspend fun queryIsSecondRound (): QueryIsSecondRoundPassResponse =
2324 queryIsSecondRoundPassUseCase.execute()
2425}
You can’t perform that action at this time.
0 commit comments