Added more tests for valid URI's (aka: with parameter)
[demos/testing] / src / main / java / de / juplo / demo / RestController.java
index b32f796..288fd9e 100644 (file)
@@ -23,7 +23,7 @@ public class RestController
   }
 
 
-  @GetMapping(path = "/", produces = MediaType.TEXT_PLAIN_VALUE)
+  @GetMapping(path = { "", "/" }, produces = MediaType.TEXT_PLAIN_VALUE)
   public Mono<String> fetch(@RequestParam String path)
   {
     return service.getRemoteText(path);