-
Task
-
Resolution: Won't Do
-
Major
-
None
-
None
-
None
While documenting RESTful endpoints I noticed that
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> <servlet-mapping> <servlet-name>javax.ws.rs.core.Application</servlet-name> <url-pattern>/*</url-pattern> </servlet-mapping> </web-app>
is needed. Is it not possible to use the annotation index to determine whether a *.war contains RESTful endpoints?