I have confiured io.swagger for my spring-mvc application. The problem is that the garbage values --> ��� are in the description part of the defined parameter as shown in screen shot below.
I have defined this parameter using @ApiImplicitParam
Below is my controller
@RestController
@RequestMapping("/test")
@Api(value = "TestApi", description = "Descriotion")
public class TestController {
@RequestMapping(value = "/apiTest", method = RequestMethod.GET)
@ApiOperation(notes = "The Test API", value = "Response")
@ApiImplicitParams(value = {
@ApiImplicitParam(name = "employee", value = "Test description for question purposes", dataType = "string", paramType = "query")
}
public String getTestData(HttpServletRequest request) {
return "test";
}
}
The string the "value" of @ApiImplicitParam is giving ���, Below is the screenshot