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
golandprog committed Apr 22, 2024
1 parent 4c2f8dd commit b61baec
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 b61baec

Please sign in to comment.