[
https://issues.apache.org/jira/browse/CXF-8284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17125865#comment-17125865
]
xnYi9wRezm commented on CXF-8284:
---------------------------------
It does make sense and it would be a great improvement.
> 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
> 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)