Skip to content

Releases: swaggo/swag

v1.5.0

26 Mar 10:21
a5009d0
Compare
Choose a tag to compare

Changelog

93d87f4 Add license scan report and status (#324)
c5b05a6 Added backers and sponsors on the README (#315)
0d4d8f5 Fix handling of multiline description blocks when general API is in the same file as operations (#340) (#341)
20de40e Revert "chore: update gin-swagger examples and doc (#345)" (#346)
b6a3401 Support parse definition in vendor, for issues/242 (#331)
7fc8833 add support for 1.12.x and update make install (#342)
a5009d0 bump to v1.5.0 (#358)
4f45ba5 chore(makefile): add formats check (#317)
c9cee45 chore(makefile): use Immediate set (#333)
e98d7d1 chore(mod): add missing modules (#321)
aabc056 chore: add release page link (#310)
ea26d9e chore: realign readme (#309)
7b98fb8 chore: update gin-swagger examples and doc (#345)
622e072 chore: update issue template for bug report (#334)
6163333 doc(readme): update README for parseVendor in cli section (#332)
9161028 feat: add output flag to specify output dir (#325)
93c4fa2 feat: allow matches any non-whitespace characters in param name (#287)
009de0c feat: and go vet check (#336)
21ed798 feat: don't print log when testing (#311)
266aebc feat: refine schemes tag (#319)
e4ec0fe feat: support line-comments to struct comment (#356)
9a22132 fix examples doc link (#349)
889705a fix go lint error (#335)
f29f821 fix spelling error in ParseComment (#318)
8183332 fix(doc): fix go report card link (#322)
fe1c938 fix(test): fix imported and not used (#320)
c4fc758 fix(test): fix misspell (#323)
e609757 fix: missing output coverage file (#312)
a8247dc fix: swag rejects valid MIME Types for Produce annotation, panic (#304)
3320652 refactor for property.go (#352)
3a5aa94 refactor parseAndExtractionParamAttribute (#354)
788b633 refactor(operation): get more clear to remove else (#347)
92f098d refactor(paser): using error instead of panic (#355)
8c7df8e refactor: Initialize regexp.MustCompile only once (#343)
75f716d refactor: check dir flag and enhance error handling (#307)
d21dc4f refactor: extract schema logic (#338)
3335bb4 refactor: return error instead of panic (#350)
4d66fe8 use trim spaced string (#353)

v1.4.1

18 Feb 03:43
d95e114
Compare
Choose a tag to compare

Changelog

d85ab81 Custom primitive types (#204)
cea5516 Fix code example in README (#240)
7e407c1 Multiline description for api info (#278)
ba90627 Update README: future is available (#281)
17745a0 add filename info when panic (#272)
700eb94 bump to v1.4.1 (#301)
1c8533a chore(gitignore) prevent cmd/swag/main.go from being ignored (#255)
1048d76 chore: added comment schema.go (#277)
d95e114 chore: release via goreleaser (#302)
b5bd45e doc(readme): add link to buffalo-swagger (#263)
64ab6b0 doc(readme): update gin link in README.md (#249)
ecdf79c feat(tag): implemented basic Tag support as API annotation (#250)
5066057 feat: add extension info to struct field (#295)
7b8e2c6 feat: add mechanism to programatically set general api info (#220)
abe5488 feat: add response headers (#297)
56047e6 feat: add support for map and struct pointer types and selector in array pointer (#244)
6993bc5 feat: add support for the attributes in struct fields (#239)
0666acc feat: add support override swaggertype tag especially for self-defined st… (#290)
c0507b2 feat: allow overriding swagger type in struct fields (#234)
2864d16 feat: multi description support (#219)
dac684d feat: release v.1.4.0
82de8d7 feat: router path now supports plus sign, useful for swagger consuming gateways that want to proxy, like AWS APIGW (#217)
a2ee966 feat: support additional typedefs (#246)
6219f1a feat: support for composition objects. (#226)
ed5589f feat: support go module (#282)
2a57949 feat: support mapType (#283)
ff54974 feat: support numbers in array examples (#233)
7cb5615 fix bug: []map[string]string type will crash (#286)
7d687ac fix(Makefile): golint uses new repo url (#222)
0e12fd5 fix(doc): Fix docs. Title, Description reference in README.md (#262)
934068f fix(example): fix lint (#264)
de0fc42 fix(parser): Parser error on composition object across package (#275)
8f09470 fix(parser): fix isNotRecurringNestStruct function (#241)
78c4dff fix: struct order bug (#270)
559d011 fix: bug for required properties inherited (#259)
b0e84d8 fix: fix required changing order every time when run swag
73cbe85 fix: missing schema convert (#212)
e565d5c fix: translate array type into valid swagger type (#232)
fd1af3a refactor: enhance error handle (#206)
4dfb5f3 refactor: returns error instead of panic (#288)
0744535 remove panic in favor of printed warning (#210)
19d1d7a stop supporting go 1.8.x (#228)

v1.4.0

19 Nov 03:20
Compare
Choose a tag to compare

[NEW] support empty response body when only have status code (#163)
[NEW] add support cross package (#171)
[NEW] support type definitions not found under the search directory (#179)
[NEW] support custom primitive types (#198)

[FIX] always diff in testdata (#168)
[FIX] fix invalid response type: array of strings (#173)
[FIX] fix to address referencing types in external, vendored pkgs #188 (#189)

v1.3.2

12 Jun 02:33
Compare
Choose a tag to compare

[FIX] exclude all directory (#147)

v.1.3.1

07 Jun 07:42
Compare
Choose a tag to compare

[NEW] add octet-stream mimetype (#127)
[NEW] support struct field as required. (#128)
[NEW] add image mimetypes (#136)

[FIX] formData parameters in only supports files type (#146)

v.1.3.0

17 May 10:39
Compare
Choose a tag to compare

[NEW] add support Decimal and ptr slice and ptr struct array. (#113)
[NEW] add support uuid and special type. (#111)
[NEW] support application/x-json-stream MIME types (#107)
[NEW] add support for format tag (#102)
[NEW] add support ptr (#90)
[NEW] add hidden field (#89)
[NEW] add param attribute (#82)(#81) (#86)
[NEW] update non required annotation format (#84)
[NEW] add enums func (#76) (#80)
[NEW] add support for security (#68) (#77)
[NEW] add support parsing interface type in swagger schema object (#17) (#74)

[FIX] fix too many return values(#103) and more simple code. (#105)
[FIX] fix infinite loop generated from repeating structure (#92)
[FIX] fix json ignore tag option (#91)
[FIX] fix response description empty error and security OAuth2 AccessCode scheme error (#78)

v.1.2.0

21 Mar 02:57
Compare
Choose a tag to compare

[NEW] Add flag for output swagger json and yaml format(#60) (#61)
[NEW] Add example value func (#56)
[NEW] Add support for json tag (#54)
[NEW] Add support for array of standard types (#49)
[FIX] Test data move to testdata dir (#69)

v1.1.1

22 Feb 03:42
c6c1ad9
Compare
Choose a tag to compare

[NEW] Add nested "array of struct" field support (#48)
[NEW] Add helper functions for check and transform schema type (#47)
[FIX] Fix for referencing nested structs (#42)

v1.1.0

12 Feb 08:59
652a19a
Compare
Choose a tag to compare

[NEW] Add support for anonymous field. (#40)
[NEW] Add JSON API Accept/Produces. (#36)
[NEW] Add support for tags field. (#33)
[NEW] Support header parameters adding the custom header in Param.
[NEW] Add support the Bson ObjectId
[NEW] Add support for multipart/form-data type. (#20)
[FIX] Fix exclude vendor folder. (#18)

v1.0.0

30 Nov 07:38
Compare
Choose a tag to compare

[NEW] Add support empty response.
[NEW] Add support for 'operationId' field.