dev@jersey.java.net

Jersey, annotations, and WADL

From: Isak Jonsson <isak_at_vidispine.com>
Date: Thu, 8 Apr 2010 02:13:47 -0700

Hello, small suggestion to IntrospectorModeller.java.

Let's assume I have a resource

@Path("somepath")
public class MyResource {
    @GET
    public String myMethod(@MyAnnotation String parameter) { ... } }
}

Here, @MyAnnotation messes up the Parameter generated by IntrospectorModeller, so that the resulting WADL is "broken", or rather, less usable. Maybe there should be a way to have IntrospectorModeller to ignore this annotation?

Cheers,

/Isak