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

Wadl Genertion: @Description cannot be bound to field

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.4
    • 3.1, 2.7.16, 3.0.5
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: