cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6332) Wadl Genertion: @Description cannot be bound to field
Date Tue, 07 Apr 2015 10:03:13 GMT

    [ https://issues.apache.org/jira/browse/CXF-6332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14482940#comment-14482940
] 

Sergey Beryozkin commented on CXF-6332:
---------------------------------------

Can you clarify please which fields you have in mind ? AFAIK WADLGenerator is not capable
of checking the fields for the purpose of generating WADL

> Wadl Genertion: @Description cannot be bound to field
> -----------------------------------------------------
>
>                 Key: CXF-6332
>                 URL: https://issues.apache.org/jira/browse/CXF-6332
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 3.0.4
>            Reporter: Nicolas Daniels
>            Priority: Minor
>
> 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})



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message