[ https://issues.apache.org/jira/browse/CXF-4226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-4226. ----------------------------------- Resolution: Fixed Fix Version/s: 2.6 Assignee: Sergey Beryozkin Hi Jakub, I'm resolving this issue for 2.6.0 for now given that it was not easy for you to confirm yet it actually works for you in 2.5.3-SNAPSHOT. Please feel free to re-open if it does not work in 2.5.x after the up to date snapshot, or indeed the release is available > @Description on class level not "inherited" > ------------------------------------------- > > Key: CXF-4226 > URL: https://issues.apache.org/jira/browse/CXF-4226 > Project: CXF > Issue Type: Bug > Affects Versions: 2.5.3 > Reporter: Jakub Bocheński > Assignee: Sergey Beryozkin > Priority: Minor > Fix For: 2.6 > > > This is really a minor one: if you define a resource via interface > {code}@Description(title = "My resource") > interface AResource { > @GET > @Description(title = "bar") > Response foo(); > }{code} > and then implement it: > {code}class ResourceImpl implements AResource{ > @PathParam("id") > protected int id; > @Context > private HttpHeaders httpHeaders; > > @Context > protected UriInfo uriInfo; > public Response foo(){ > return Response.ok().build(); > } > }{code} > Then the generated WADL document will contain the method description ("bar") > but not the resource level description ("My resource"). > Workaround: annotate concrete implementation classes - this is of course > rather tedious. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira