I am using Spring framework for Rest Service. I have one Rest API below which has @PathVariable id. But after Proguard obfuscation , the parameter 'id' is changed to something like 'parama' which causes the REST not work because it doesn't match the definition in @RequestMapping. How can i resolve it to keep the parameter name?
@RequestMapping(value = "/{id}", method = RequestMethod.GET)
public void getAccount(@PathVariable int id) {
...
}