我有一个使用 spring 注释和 Spring MVC 公开 RESTful 操作的应用程序。
看起来像
@RequestMapping(value = "/example/{someId}",
method = RequestMethod.GET, consumes=MediaType.APPLICATION_JSON_VALUE,
produces=MediaType.APPLICATION_JSON_VALUE)
@ResponseBody
public void isRegisteredToThread(@PathVariable long someId, HttpServletResponse response) {
[something]
}
我想要的是一个自动生成的所有 URL、方法和可用参数的列表——可能在一个 WSDL 中。有插件还是可用的?