[jbosstools-issues] [JBoss JIRA] (JBIDE-15522) Shoud validate when @Path arg at type does not match @PathParam on methods
Xavier Coulon (JIRA)
jira-events at lists.jboss.org
Wed Sep 25 11:13:02 EDT 2013
Xavier Coulon created JBIDE-15522:
-------------------------------------
Summary: Shoud validate when @Path arg at type does not match @PathParam on methods
Key: JBIDE-15522
URL: https://issues.jboss.org/browse/JBIDE-15522
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: webservices
Affects Versions: 4.1.0.Final
Reporter: Xavier Coulon
Assignee: Xavier Coulon
Fix For: 4.2.0.Alpha1
Let's take the following code:
{code}
@Path("/users/{username}")
public class UserResource {
@GET
@Produces("text/xml")
public String getUser(@PathParam("user") String userName) {
...
}
}
{code}
Validation should report a problem because of the mismatch between the {noformat}@Path{noformat} value and the {noformat}@PathParam{noformat} value
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list