fix(swagger): do not generate dummy descriptions
This commit is contained in:
parent
06b07460e8
commit
2577224bc7
|
@ -661,7 +661,7 @@ trans_desc(Init, Hocon, Func, Name, Options) ->
|
|||
Spec1 = trans_label(Spec0, Hocon, Name, Options),
|
||||
case Spec1 of
|
||||
#{description := _} -> Spec1;
|
||||
_ -> Spec1#{description => <<Name/binary, " Description">>}
|
||||
_ -> Spec1
|
||||
end
|
||||
end.
|
||||
|
||||
|
|
Loading…
Reference in New Issue