-
Bug
-
Resolution: Won't Do
-
Major
-
3.3.0.Beta1
-
None
Following JBIDE-11070's fix and some extra code in our project, there's an edge-case that wasn't covered by the previous fix.
Unfortunately, I can't point out to exactly what's causing the issue, but I can possibly guide to it.
Take the following code sample:
@Path("/foo/
{param1}/bar")
public class FooRestService {
@PUT
@Path("
public Response update(@Context HttpServletRequest requestContext, Bar bar, @PathParam("{param2}
") String param2) throws Exception
{ ... }}
This code will generate the following error:
Description Resource Path Location Type
Invalid @PathParam value: expected '[param1, param2]' FooRestService.java /path/to/class line XX JAX-RS Problem
I imagine this is due to the following possible reasons:
1. There's a
2. There's more than one {param}
that's supposed to be included in the method signature.
3. A combination of the two above reasons.
- relates to
-
JBIDE-11070 JAX-RS validation problem marked as Error instead of Warning
- Closed