So, I'm using 1.0.1 right now...not sure if that matters...
Have a class that looks similar to this:
@Path("devices/{guid}")
@Service
@Produces({ MediaType.APPLICATION_JSON })
@Consumes({ MediaType.APPLICATION_JSON })
public class DevicesResource {}...
And wadl section like this:
<ns2:resource
path="devices/{guid}"><ns2:doc><![CDATA[Comments
here]]></ns2:doc><ns2:param
type="xs:string" style="template" name="guid"
xmlns:xs="
http://www.w3.org/2001/XMLSchema"/>....
I'm using just the ResourceDoclet and WadlGeneratorResourceDocSupport. See
this behavior both when generating wadl at build time using my Ant task as
well as when generated at runtime
On Tue, Feb 3, 2009 at 9:46 PM, Martin Grotzke
<martin.grotzke_at_freiheit.com>wrote:
> 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
>