You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Matt Parker (JIRA)" <ji...@apache.org> on 2014/08/25 18:27:58 UTC
[jira] [Comment Edited] (CXF-5948) wadl2java
-inheritResourceParams: put parent param first
[ https://issues.apache.org/jira/browse/CXF-5948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14109266#comment-14109266 ]
Matt Parker edited comment on CXF-5948 at 8/25/14 4:26 PM:
-----------------------------------------------------------
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
was (Author: mparker):
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)