generated from pricelees/issue-pr-template
rename: ThemeAPIV2 -> ThemeAPI 클래스명 수정
This commit is contained in:
parent
ccac362551
commit
ecf0d6740a
@ -15,8 +15,8 @@ import roomescape.common.dto.response.CommonApiResponse
|
|||||||
import roomescape.theme.web.*
|
import roomescape.theme.web.*
|
||||||
|
|
||||||
@Tag(name = "5. 관리자 테마 API", description = "관리자 페이지에서 테마를 조회 / 추가 / 삭제할 때 사용합니다.")
|
@Tag(name = "5. 관리자 테마 API", description = "관리자 페이지에서 테마를 조회 / 추가 / 삭제할 때 사용합니다.")
|
||||||
interface ThemeAPIV2 {
|
interface ThemeAPI {
|
||||||
@AdminOnly(privilege = Privilege.READ_SUMMARY)
|
@AdminOnly(type = AdminType.HQ, privilege = Privilege.READ_SUMMARY)
|
||||||
@Operation(summary = "모든 테마 조회", description = "관리자 페이지에서 요약된 테마 목록을 조회합니다.", tags = ["관리자 로그인이 필요한 API"])
|
@Operation(summary = "모든 테마 조회", description = "관리자 페이지에서 요약된 테마 목록을 조회합니다.", tags = ["관리자 로그인이 필요한 API"])
|
||||||
@ApiResponses(ApiResponse(responseCode = "200", description = "성공", useReturnTypeSchema = true))
|
@ApiResponses(ApiResponse(responseCode = "200", description = "성공", useReturnTypeSchema = true))
|
||||||
fun findAdminThemes(): ResponseEntity<CommonApiResponse<AdminThemeSummaryListResponse>>
|
fun findAdminThemes(): ResponseEntity<CommonApiResponse<AdminThemeSummaryListResponse>>
|
||||||
|
|||||||
@ -4,13 +4,13 @@ import org.springframework.http.ResponseEntity
|
|||||||
import org.springframework.web.bind.annotation.*
|
import org.springframework.web.bind.annotation.*
|
||||||
import roomescape.common.dto.response.CommonApiResponse
|
import roomescape.common.dto.response.CommonApiResponse
|
||||||
import roomescape.theme.business.ThemeService
|
import roomescape.theme.business.ThemeService
|
||||||
import roomescape.theme.docs.ThemeAPIV2
|
import roomescape.theme.docs.ThemeAPI
|
||||||
import java.net.URI
|
import java.net.URI
|
||||||
|
|
||||||
@RestController
|
@RestController
|
||||||
class ThemeController(
|
class ThemeController(
|
||||||
private val themeService: ThemeService,
|
private val themeService: ThemeService,
|
||||||
) : ThemeAPIV2 {
|
) : ThemeAPI {
|
||||||
|
|
||||||
@PostMapping("/themes/retrieve")
|
@PostMapping("/themes/retrieve")
|
||||||
override fun findThemesByIds(
|
override fun findThemesByIds(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user