|
From: Gregor J. <gr...@ja...> - 2012-11-12 09:27:37
|
Already filled out an issue - and already has been fixed (by Weinan) :-)
On 12.11.2012 10:15, Stef Epardaud wrote:
> Hi,
>
> You should file an issue so we won't forget to fix this.
>
> Thanks.
>
> On Mon, Oct 22, 2012 at 03:26:37PM +0200, Gregor Jarisch wrote:
>> Hi,
>>
>> we just encountered a problem with JSAPI Servlet and it's generated code.
>>
>> We having two interfaces.
>>
>> public interface IRestVersionInfo {
>> @GET
>> @Path("/{id}/currentversion")
>> Integer getCurrentVersion(@PathParam("id") String id);
>> }
>>
>> @Path("/store/units")
>> public interface IRestStore extends IRestVersionInfo {
>> @GET
>> @GZIP
>> @Path("/{id}")
>> @Produces(MediaType.APPLICATION_JSON)
>> public UnitConfiguration readUnit(@PathParam("id") String id,
>> @QueryParam("version") Integer version) throws Exception;
>> }
>>
>> calling "/store/units/12345/currentversion" from an rest client works
>> just fine.
>> Looking in the generated JSAPI file coming from the server, it's like that:
>>
>> Instead of generating getCurrentVersion on IRestStore, it's generating
>> it to IRestVersionInfo.
>> We have several Interfaces inherting from IRestVersionInfo.
>> All generated Snipplets are IRestVersionInfo.getCurrentVersion, instead
>> of the inherited class itself.
>> Correct would be IRestStore.getCurrentVersion
>>
>> Weinan, I assume it's your task?! :-)
>> Can you fix this?
>>
>> Thanks, Gregor
>>
>> --
>> Ing. Gregor Jarisch
>> entrepreneurship & development
>>
>>
>> ------------------------------------------------------------------------------
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_sfd2d_oct
>> _______________________________________________
>> Resteasy-developers mailing list
>> Res...@li...
>> https://lists.sourceforge.net/lists/listinfo/resteasy-developers
--
Ing. Gregor Jarisch
entrepreneurship & development
|