API 경로 하나만 사용하기
This commit is contained in:
@@ -16,7 +16,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|||||||
@Tag(name = "감사 로그", description = "감사 로그 관리 API")
|
@Tag(name = "감사 로그", description = "감사 로그 관리 API")
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping({"/api/log/audit", "/v1/api/log/audit"})
|
@RequestMapping({"/api/log/audit"})
|
||||||
public class AuditLogApiController {
|
public class AuditLogApiController {
|
||||||
|
|
||||||
private final AuditLogCoreService auditLogCoreService;
|
private final AuditLogCoreService auditLogCoreService;
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|||||||
@Tag(name = "에러 로그", description = "에러 로그 관리 API")
|
@Tag(name = "에러 로그", description = "에러 로그 관리 API")
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping({"/api/log/error", "/v1/api/log/error"})
|
@RequestMapping({"/api/log/error"})
|
||||||
public class ErrorLogApiController {
|
public class ErrorLogApiController {
|
||||||
|
|
||||||
private final ErrorLogCoreService errorLogCoreService;
|
private final ErrorLogCoreService errorLogCoreService;
|
||||||
|
|||||||
Reference in New Issue
Block a user