eclipse-ee4j / eclipse-ee4j/jersey
Recursive subresource makes application.wadl die
Open
wadl
- Dominant language
- Java
- Stars
- 730
- Forks
- 382
- PR merge metrics
- No merged PRs in 30d
Description
Test case:
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...
PS:
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();
}
}
Contributor guide
Assessment
This issue has not been assessed yet.