[
https://issues.apache.org/jira/browse/CXF-5948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14109266#comment-14109266
]
Matt Parker commented on CXF-5948:
----------------------------------
Hi Sergey,
Using space as a separator, the behavior has changed slightly but is still
broken.
'-inheritResourceParams' and '-inheritResourceParams first' both yield the same
result as the first result listed above--missing the 'id' param in
'publishConnection'.
'-inheritResourceParams foo' and '-inheritResourceParams last' (anything other
than 'first' as the option) yield the same result as the second one listed
above--getConnectionFoo has the params in different order than the other
methods.
-Matt
> wadl2java -inheritResourceParams: put parent param first
> --------------------------------------------------------
>
> Key: CXF-5948
> URL: https://issues.apache.org/jira/browse/CXF-5948
> Project: CXF
> Issue Type: Improvement
> Components: Tooling
> Affects Versions: 2.7.13
> Reporter: Alexey Markevich
> Assignee: Sergey Beryozkin
> Priority: Minor
> Fix For: 2.7.13, 3.0.2, 3.1.0
>
> Attachments: inheritedParamsFirst.patch
>
>
> For
> {noformat}
> <resource path="{name}">
> <param name="name" style="template" type="xs:string"/>
> <resource path="{id}">
> <param name="id" style="template" type="xs:string"/>
> {noformat}
> the {noformat}@Path("/{name}/{id}"){noformat}
> Expected method params order is
> {noformat}@PathParam("name") String name, @PathParam("id") String id{noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)