I need to read a json file with multiple linkname and url then create a menu link mapping out of it.
Menu
linkname1: This is a link1
linkname2: This is a link2
Using org.apache.model.rest.RestDefinition method if possible, any idea?
I need to read a json file with multiple linkname and url then create a menu link mapping out of it.
Menu
linkname1: This is a link1
linkname2: This is a link2
Using org.apache.model.rest.RestDefinition method if possible, any idea?
I have to put
@Controller
@RequestMapping("/xxxx")
On the main class
I have to put
@GetMapping()
public static RestDefinition
But it only run in eclipse and it compile with no error, but if you run, you will have error. I just decided to rewrite it all in spring-boot without RestDefinition and old java programs.