users@jersey.java.net

Re: [Jersey] WADL and resource wide params

From: Martin Grotzke <martin.grotzke_at_freiheit.com>
Date: Wed, 04 Feb 2009 05:46:50 +0100

Hi Andrew,

I just wanted implement the support for documentation of resource wide
path params.

However, when I set the @Path annotation on the resource class to s.th.
like "/items/{someparam}" I don't see a param element for this resource
in the generated wadl.

Can you post your resource class?
How are you generating the wadl file?

Cheers,
Martin



On Tue, 2009-02-03 at 11:26 -0700, Andrew Ochsner wrote:
> So I have a resource whose path is @Path(/resource/{selector}) When
> i generate wadl, it does insert a resource wide param element. Is
> there any way (via javadoc or some other) to add a description to that
> resource wide parameter?
>
> Andy o