使用基于SpringMVC Annotation的配置

问题描述 投票:2回答:1

我正在尝试使用Enunciate为我的REST API生成静态文档,该文档使用Spring MVC 3.2用Java编写。 Enunciate网站声称它通过使用特定插件获得Spring支持:

http://enunciate.codehaus.org/module_spring_app.html

在查看配置选项时,看起来我应该导入一个spring applicationContext.xml。我为这个项目使用基于注释的配置,所以我没有applicationContext.xml。有没有办法让这个工作在我的情况下?

在此先感谢您的帮助。

java rest spring-mvc enunciate
1个回答
1
投票

Enunciate目前支持Spring Web注释。

© www.soinside.com 2019 - 2024. All rights reserved.