Skip to content

Commit

Permalink
Added multiline for @description attribute for securityDefinitions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ponywka committed Apr 10, 2024
1 parent 91624ad commit 559d850
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,10 @@ loopline:

// Not mandatory field
if securityAttr == descriptionAttr {
description = value
if description != "" {
description += "\n"
}
description += value
}

// next securityDefinitions
Expand Down

0 comments on commit 559d850

Please sign in to comment.