include.macros.ftl Maven / Gradle / Ivy
<#macro stubChildrenAsTable stub>
<#if (stub.childStubs?? && (stub.childStubs?size > 0)) >
Property
Type
Required
Description
<#list stub.childStubs as childStub>
<@stubRow stub=childStub parentPath=""/>
#list>
#if>
#macro>
<#macro stubRow stub parentPath>
${stubOgnl(stub, parentPath)}
${stubType(stub)}
${stub.required?string("Y","N")}
<#list stub.childStubs as childStub>
<@stubRow stub=childStub parentPath=stubOgnl(stub, parentPath)/>
#list>
#macro>