You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2015/04/08 13:32:12 UTC
[jira] [Resolved] (CXF-6332) Wadl Genertion: @Description cannot be
bound to field
[ https://issues.apache.org/jira/browse/CXF-6332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-6332.
-----------------------------------
Resolution: Fixed
Fix Version/s: 3.0.5
2.7.16
3.1.0
Assignee: Sergey Beryozkin
> 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
> Assignee: Sergey Beryozkin
> Priority: Minor
> Fix For: 3.1.0, 2.7.16, 3.0.5
>
>
> 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)