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

Wadl Genertion: @Description cannot be bound to field

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.4
    • Fix Version/s: 3.1, 2.7.16, 3.0.5
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Novice

      Description

      WadlGenerator seems to handle correctly @Description annotation on class level, and so on class fields.
      However the @Description cannot be assigned to Field:
      @Target(

      {java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.PARAMETER}

      )

      Can you change this to:
      @Target(

      {java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.PARAMETER, java.lang.annotation.ElementType.FIELD}

      )

        Attachments

          Activity

            People

            • Assignee:
              sergey_beryozkin Sergey Beryozkin
              Reporter:
              multanis Nicolas Daniels
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: