No problem, we all were starters some day. :-) Unfortunately the https://github.com/eclipse-ee4j/jersey/blob/master/CONTRIBUTING.md is not exhaustive. You can place bug descriptions directly into the tracker https://github.com/eclipse-ee4j/jersey/issues, or if you already have a reproducible (read: "JUnit Test Case") you can instead (or additionally) open a PR https://github.com/eclipse-ee4j/jersey/pulls. Building is as easy as git clone https://github.com/eclipse-ee4j/jersey.git and then mvn clean install it. -Markus Von: jersey-dev-bounces@xxxxxxxxxxx [mailto:jersey-dev-bounces@xxxxxxxxxxx] Im Auftrag von Brig TB Musheno Gesendet: Dienstag, 28. Januar 2020 22:54 An: jersey developer discussions Betreff: Re: [jersey-dev] Recursive subresource makes application.wadl die New to the site, is there a how to document? Maybe I was not clear enough. Can you please provide a PR against master containing a JUnit based test case to proof the fail plus the actual source code to fix this issue? That would be cool! 8-) -Markus 1: Create a Jersey resource lets call it TheResource, with a @GET method Lets say it just returns the text "foo". 2: Add a sub resource in TheResource that produces a TheResource with some path lets say the path is "somePath". 3: Load the generated application.wadl in a browser. This SHOULD produce a WADL according to the JAXRS spec. package pkg; import javax.ws.rs.GET; import javax.ws.rs.Path; public class TheResource { @GET public String getText() { return "foo"; } @Path("somePath") public TheResource getSubResource() { return new TheResource(); } } …or even better, Todd, provide a reproducible test case and bug fix, as this is what open source is about… ;-) -Markus I am trying to use jersey to develop a wiki, and when I include a recursive sub resource, application.wadl does not generate, I get a stack overflow. Please fix, or recommend an alternative. _______________________________________________ jersey-dev mailing list jersey-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jersey-dev
--
_______________________________________________ jersey-dev mailing list jersey-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jersey-dev
--
|