我有一个应用程序使用Spring注释和Spring MVC公开REST风格的动作。列出Spring动作的可用路径
它看起来像
@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。有插件还是有些可用?
看看[这个答案](http://stackoverflow.com/a/9767985/750510)。我认为这可能对你有所帮助。 – madhead 2013-03-23 01:19:36