You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Alexey Markevich (JIRA)" <ji...@apache.org> on 2014/08/14 12:54:12 UTC

[jira] [Updated] (CXF-5948) wadl2java -inheritResourceParams: put parent param first

     [ https://issues.apache.org/jira/browse/CXF-5948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Markevich updated CXF-5948:
----------------------------------

    Description: 
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}



  was:
For 
<resource path="{name}">
	<param name="name" style="template" type="xs:string"/>
	<resource path="{id}">
		<param name="id" style="template" type="xs:string"/>
the @Path("/{name}/{id}")
Expected method params order is
@PathParam("name") String name, @PathParam("id") String id




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