You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2014/08/14 17:30:12 UTC
[jira] [Commented] (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=14097072#comment-14097072 ]
Sergey Beryozkin commented on CXF-5948:
---------------------------------------
Dan suggests to introduce an option:
-inheritResourceParams[=first|last]
"where it would default to first on 3.x and last on 2.7.x, but the user could explicitly set it depending on their needs/compatibility requirements".
> 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
> Priority: Minor
>
> 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)