From 559d850194932635b76930d39b53f842df1dc6c6 Mon Sep 17 00:00:00 2001 From: Vladimir Avchenov Date: Wed, 10 Apr 2024 18:07:32 +0300 Subject: [PATCH] Added multiline for @description attribute for securityDefinitions --- parser.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/parser.go b/parser.go index 561c4549e..8a47d0046 100644 --- a/parser.go +++ b/parser.go @@ -774,7 +774,10 @@ loopline: // Not mandatory field if securityAttr == descriptionAttr { - description = value + if description != "" { + description += "\n" + } + description += value } // next securityDefinitions