eclipse-ee4j / eclipse-ee4j/jersey

Recursive subresource makes application.wadl die

Open
#4,379 5 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.