cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5948) wadl2java -inheritResourceParams: put parent param first
Date Thu, 14 Aug 2014 15:30:12 GMT

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

Mime
View raw message