swaggo / swag

Automatically generate RESTful API documentation with Swagger 2.0 for Go.
MIT License
10.24k stars 1.17k forks source link

[Issue 1812] fix misalignment in expected.json and api.go, fixing test #1836

Closed KristofferFJ closed 4 weeks ago

KristofferFJ commented 4 weeks ago

Describe the PR PR https://github.com/swaggo/swag/pull/1813 introduced test changes to both testdata/simple/expected.json and testdata/simple/api/api.go which were misaligned and out of alphabetical order. This is now fixed.

Relation issue See comment and test errors after https://github.com/swaggo/swag/pull/1813