Details
-
Bug
-
Resolution: Done
-
Minor
-
4.1.1.CR1
-
None
-
PR applied on branches 'master' and 'jbosstools-4.1.x'
Description
if I have a method like:
@GET
@Path("/rule/
")
public byte[] getRuleSet(@PathParam("rule-file-name") String ruleSetName)
I get the error:
@PathParam value 'rule-file-name' does not match any @Path annotation template parameters of the java method and the enclosing java type.
If I remove the hyphens from "rule-file-name" the error goes away.
However the hyphen should be allowed.
Attachments
Issue Links
- is cloned by
-
JBIDE-16475 @PathParam with hyphen in value shows as JAX-RS error
- Closed