fix: add explicit names to all @PathVariable and @RequestParam to support legacy compilers without -parameters flag
Some checks failed
Deploy to OCIWP / deploy (push) Failing after 10s

This commit is contained in:
jade
2026-09-01 16:42:19 +09:00
parent 1efd8617a7
commit f9b96bf7ab
3 changed files with 7 additions and 7 deletions

View File

@@ -45,7 +45,7 @@ public class DtoDownloadProxyController {
}
@GetMapping("/dto-download/{dtoName}")
public ResponseEntity<byte[]> download(@PathVariable String dtoName) {
public ResponseEntity<byte[]> download(@PathVariable("dtoName") String dtoName) {
byte[] workbook;
try {
// 생성된 엑셀 바이트를 그대로 브라우저에 전달한다.

View File

@@ -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);