diff --git a/util/templates/template_types.go b/util/templates/template_types.go index fcc096e5f..381f47529 100644 --- a/util/templates/template_types.go +++ b/util/templates/template_types.go @@ -222,6 +222,10 @@ func (p *Param) OverwriteProperties(withParam Param) { // always overwrite if defined p.Description.Update(withParam.Description, true) + if len(p.Usages) == 0 { + p.Usages = withParam.Usages + } + if withParam.ValueType != "" { p.ValueType = withParam.ValueType }