]
Radoslav Rábara closed JBIDE-15522.
-----------------------------------
Verified with JBDS 8.0.0 CR1-v20140831-0335-B201
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.CR1
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