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
Some checks failed
Deploy to OCIWP / deploy (push) Failing after 10s
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user