chore: copy usages
This commit is contained in:
parent
fb899d33ae
commit
06fdeab7a5
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue