swag icon indicating copy to clipboard operation
swag copied to clipboard

Generated file header is non-conventional

Open NiJeTi opened this issue 6 months ago • 0 comments

Describe the bug Generated docs.go file has non-conventional header.

To Reproduce Generate pretty much anything.

Expected behavior According to go:generate docs:

To convey to humans and machine tools that code is generated, generated source should have a line that matches the following regular expression (in Go syntax): ^// Code generated .* DO NOT EDIT\.$

Your swag version Docker 1.16.6

Your go version 1.25

Desktop (please complete the following information):

  • OS: macOS

NiJeTi avatar Sep 08 '25 20:09 NiJeTi