dev@jersey.java.net

Re: [Jersey] Jersey, annotations, and WADL

From: Marc Hadley <marc.hadley_at_oracle.com>
Date: Thu, 8 Apr 2010 08:32:34 -0400

Could you add an issue so we can keep track of this. I'm looking into the WADL generation aspect at the moment and will look into this issue.

Marc.

On Apr 8, 2010, at 5:13 AM, Isak Jonsson wrote:

> 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