You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Fernando Cosso (Jira)" <ji...@apache.org> on 2020/05/15 12:59:00 UTC
[jira] [Created] (CXF-8284) Parameter annotations with default
names
Fernando Cosso created CXF-8284:
-----------------------------------
Summary: 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: Fernando Cosso
@...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)