How to document the type of proclamation?

How to get the description field in the type filled with the created documentation?

We generate classes from jaxb using the jaxb2-maven-plugin. No matter how I document an element, either with <xsd:documentation></xsd:documentation>or

<xsd:appinfo>
   <jaxb:class>
     <jaxb:javadoc>
       </jaxb:javadoc>
    </jaxb:class>
</xsd:appinfo>

it is overwritten in the generated classes. Can I somehow disable this auto-generated javadoc from this plugin? Or what really says that I have to do this allows me to document at the field level?

Note that the comment I'm writing at the class / type level is displayed in the generated class and in the numbered generated documentation.

We use enunciate (v.1.26.2) and jaxb2-maven-plugin (v. 1.5)

+4
source share
1 answer

So, you are wondering how to make Enunciate not use Javadocs in the class?

One way could be to build the classes created by JAXB and run Enunciate against the compiled classes instead of the source code.

0
source

All Articles