[ 
https://issues.apache.org/jira/browse/CXF-5948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14106799#comment-14106799
 ] 

Sergey Beryozkin commented on CXF-5948:
---------------------------------------

Hi Matt
Indeed, there were few more issues with the original fix, thanks for testing 
early.
By the way, at the last moment I updated the code not to use "=" but " " as a 
separator, say "inheritResourceParams first" or simply "inheritResourceParams". 
Earlier on I added two more options, 'async' and generateResponseForMethods 
which can also have the optional list of elements and I did not use a "=" there 
either, not intentionally, just thought a " " was the way to separate. So in 
the end I thought "inheritResourceParams" should be consistent with the way the 
optional qualifiers are set for other wadl to java options...

Please try the snapshots

Cheers, Sergey

> 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)

Reply via email to