diff --git a/dat-gateway/src/main/java/io/shinhanlife/dat/mcg/presentation/DtoDownloadProxyController.java b/dat-gateway/src/main/java/io/shinhanlife/dat/mcg/presentation/DtoDownloadProxyController.java index 2f4f6a82..c93255cd 100644 --- a/dat-gateway/src/main/java/io/shinhanlife/dat/mcg/presentation/DtoDownloadProxyController.java +++ b/dat-gateway/src/main/java/io/shinhanlife/dat/mcg/presentation/DtoDownloadProxyController.java @@ -45,7 +45,7 @@ public class DtoDownloadProxyController { } @GetMapping("/dto-download/{dtoName}") - public ResponseEntity download(@PathVariable String dtoName) { + public ResponseEntity download(@PathVariable("dtoName") String dtoName) { byte[] workbook; try { // 생성된 엑셀 바이트를 그대로 브라우저에 전달한다. diff --git a/dat-gateway/src/main/java/io/shinhanlife/dat/mcg/presentation/KillSwitchController.java b/dat-gateway/src/main/java/io/shinhanlife/dat/mcg/presentation/KillSwitchController.java index 2a88232c..a2f20ff8 100644 --- a/dat-gateway/src/main/java/io/shinhanlife/dat/mcg/presentation/KillSwitchController.java +++ b/dat-gateway/src/main/java/io/shinhanlife/dat/mcg/presentation/KillSwitchController.java @@ -36,9 +36,9 @@ public class KillSwitchController { */ @PostMapping("/{type}/{target}") public ResponseEntity toggleKillSwitch( - @PathVariable String type, - @PathVariable String target, - @RequestParam boolean state) { + @PathVariable("type") String type, + @PathVariable("target") String target, + @RequestParam("state") boolean state) { killSwitchService.toggleKillSwitch(type, target, state); @@ -55,8 +55,8 @@ public class KillSwitchController { */ @DeleteMapping("/{type}/{target}") public ResponseEntity removeKillSwitch( - @PathVariable String type, - @PathVariable String target) { + @PathVariable("type") String type, + @PathVariable("target") String target) { killSwitchService.removeKillSwitch(type, target); diff --git a/dat-was-lib/src/main/java/io/shinhanlife/dat/lib/adapter/test/MockEimsHttpServer.java b/dat-was-lib/src/main/java/io/shinhanlife/dat/lib/adapter/test/MockEimsHttpServer.java index 4a27733f..286e3b3b 100644 --- a/dat-was-lib/src/main/java/io/shinhanlife/dat/lib/adapter/test/MockEimsHttpServer.java +++ b/dat-was-lib/src/main/java/io/shinhanlife/dat/lib/adapter/test/MockEimsHttpServer.java @@ -33,7 +33,7 @@ public class MockEimsHttpServer { @PostMapping("/mock/http/{toolName:[a-z0-9_-]+}") public ResponseEntity mockToolHttpResponse( - @PathVariable String toolName, + @PathVariable("toolName") String toolName, @RequestBody(required = false) JsonNode request) { ClassPathResource resource = new ClassPathResource("mock-responses/" + toolName + ".json"); if (!resource.exists()) {