Please tell me, is it possible to automatically generate annotation for types / elements in the generated xsd file with comments?
from
/// <summary> /// Comment for myclass /// </summary> [DataContract] public class myclass { }
to
<xs:complexType name="myclass"> <xs:annotation> <xs:documentation> Comment for myclass </xs:documentation> </xs:annotation> </xs:complexType>
or directly to an element:
<xs:element name="myclass" type="tns:myclass" > <xs:annotation> <xs:documentation> Comment for myclass </xs:documentation> </xs:annotation>
</xs:element>
source share