-
Bug
-
Resolution: Done
-
Blocker
-
3.3.0.Beta1
-
None
Marked as Blocker per Max Andersen's request in the IRC channel.
On the following code declaration (and similar):
@DELETE
@Path(/
public void removeId(@Context HttpServletRequest requestContext) {
There's an error marker such as:
Description Resource Path Location Type
Missing @PathParam value: expected id Class.java /path/to/class Unknown Validation Message
I imagine this is caused since the method signature doesn't include a '@PathParam("id") String id' declaration, even though there's a {id}
parameter in the path. This is not an actual error, but should probably produce a warning.
According to Max Andersen:
Feb 26 10:02:24 <maxandersen1> ron: I agree - that should not be an error. spec says "you may use @PathParam" not "you must"
- is related to
-
JBIDE-11229 JAX-RS validation problem marked as Error instead of Warning - Edge Case
- Closed