We need to update the doc template contents to call the newly created typeName script:
...
Attributes
| Name | Type |
[#foreach attr in class.attribute]
${attr.name}
|
${attr.typeName}[/#foreach]
|
Save the doc template, relaunch the generation and open the file result.xml:
...
Class Order
Description
An order of a product by a customer
Attributes
| Name | Type |
| date | String |
| items | Collection of LineItem |
| product | Customer |