Open mariusz-4chain opened 3 weeks ago
Describe the bug Bad operation when there is a newline character between annotations
To Reproduce Steps to reproduce the behavior:
// @Security x-auth-xpub
Expected behavior If the newline character is not allowed the plugin should throw an error and not silently ignore it.
Screenshots
Your swag version e.g. 1.16.3
Your go version go1.22.4 linux/amd64
Desktop (please complete the following information):
Describe the bug Bad operation when there is a newline character between annotations
To Reproduce Steps to reproduce the behavior:
// @Security x-auth-xpub
Expected behavior If the newline character is not allowed the plugin should throw an error and not silently ignore it.
Screenshots![image](https://github.com/swaggo/swag/assets/166371395/8a9ac38b-2546-418b-8300-7d260abbc54a)
Your swag version e.g. 1.16.3
Your go version go1.22.4 linux/amd64
Desktop (please complete the following information):