Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8284

Parameter annotations with default names

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: JAX-RS
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      @...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

        Attachments

          Activity

            People

            • Assignee:
              reta Andriy Redko
              Reporter:
              xnYi9wRezm xnYi9wRezm
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: