You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2020/06/05 15:38:00 UTC

[jira] [Assigned] (CXF-8284) Parameter annotations with default names

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

Andriy Redko reassigned CXF-8284:
---------------------------------

    Assignee: Andriy Redko

> Parameter annotations with default names
> ----------------------------------------
>
>                 Key: CXF-8284
>                 URL: https://issues.apache.org/jira/browse/CXF-8284
>             Project: CXF
>          Issue Type: Wish
>          Components: JAX-RS
>            Reporter: xnYi9wRezm
>            Assignee: Andriy Redko
>            Priority: Minor
>
> @...Param annotations require in most cases the repetition of the parameter name. i.e.
> {{{{@Path("/book/\{isbn}")}}}}
> {{ public String getBook(@PathParam("isbn") String isbn)}}{{{}}
> {{  }}{{...}}
> {{ }}}
> RestEasy implemented new annotations that don't require the parameter name when it matches the Java name. It would be useful to have the same in Apache CXF.
> *See*
>  * [https://docs.jboss.org/resteasy/docs/3.8.1.Final/userguide/html/_NewParam.html]
>  * [https://github.com/resteasy/Resteasy/commit/0e992f2a0f9004822a40e6d2fbf26b3f4c8d1bf0]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)