On Feb 23, 2010, at 6:06 AM, Sergey Beryozkin wrote:
> Hi,
>
> Consider this JAXRS resource :
>
> @Path("/")
> public class Resource {
> @GET
> @Produces("text/plain")
> public String getValue() {return "plain value";}
> }
>
> How to have such a plain representation described in WADL ?
>
> Perhaps
>
> <representation>
> <param style="plain"/>
> </representation>
>
> ?
There's no real structure in the response so I'd expect something like:
<response status="200">
<representation mediaType="text/plain"/>
</response>
Marc.