-
Bug
-
Resolution: Duplicate
-
Major
-
4.1.0.Final
-
None
Take the following classes:
@Path("/products") public class ProductResourceLocator { @QueryParam("foo1") private String foo2; @Path("/{productType}") public Object getProductResourceLocator() { return new BookResource(); } }
and
@Produces({ MediaType.APPLICATION_XML, "application/json" }) public class BookResource { @GET @Path("/{id}") @Produces({ "application/xml", "application/json" }) public Book getProduct(@PathParam("id") Integer id) { return null; } }
ASSERT: the URL Template for the Endpoint should be something like
/products/{productType}/{id}?foo1={String}
FAIL: the URL Template for the Endpoint should be something like
/products/{productType}/{id}?foo2={String}
- duplicates
-
JBIDE-15599 Changes on a subresource locator fields are not propagated to the JAX-RS Explorer
- Closed