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

@@ -33,7 +33,7 @@ public class MockEimsHttpServer {
@PostMapping("/mock/http/{toolName:[a-z0-9_-]+}")
public ResponseEntity<JsonNode> mockToolHttpResponse(
@PathVariable String toolName,
@PathVariable("toolName") String toolName,
@RequestBody(required = false) JsonNode request) {
ClassPathResource resource = new ClassPathResource("mock-responses/" + toolName + ".json");
if (!resource.exists()) {