Skip to content

Releases: swaggo/swag

v1.8.1

30 Mar 09:10
050b0aa
Compare
Choose a tag to compare

Changelog

69245e5 chore: update description.markdown description (#1167)
050b0aa chore: update version.go (#1169)
add313f doc: security or documentation (#1158)
32b2467 feat: Example/SchemaExample: allow \r \n \t (#1156)
7dc2340 feat: Feature security or documentation (#1157)
6686f54 feat: [security] feature add or-option (#1151)
334111b feat: add option to set the example to schema #1140 (#1148)
957b087 feat: fix go 1.18 errors caused by any type (#1168)
2b64f78 fix #1154 (#1161)
9205937 fix: README_zh-CN.md broken link (#1153)

v1.8.0

22 Feb 12:23
faad956
Compare
Choose a tag to compare

Changelog

cd97e7f fix: Linter fails (#1136) (#1137)
3a778dc fix: split extensions param respecting open/close brackets (#1107)
1a0a57a fix: swaggerinfo template for instanceNames (#1133) (#1134)

v1.7.9-p1

06 Feb 09:49
24209aa
Compare
Choose a tag to compare

Changelog

24209aa fix: breaking change introduced by generation of 2 documents in the same package (#1127)

v1.7.9

03 Feb 21:00
e969efb
Compare
Choose a tag to compare

Changelog

b0cdfd4 build: update go directive in go.mod to 1.17 (#1089)
7137cd8 chore: drop support for go 1.14 (#1111)
a8ef569 chore: field tags constants (#1088)
808bde6 chore: improve unit tests (#1123)
e969efb chore: release v1.7.9
cae7467 feat: Generated file name from instanceName (#1112)
44c3853 feat: add example parameter (#1122)
32f02b9 feat: add generation of type description to schema (#708) (#1106)
97ea98e feat: allow generating of specific docs files only (#577)
b1e10b7 feat: instance name func to doc file (#1116)
e1ac437 feat: struct fields allow empty example strings (#1125)
a7065ad feat: support global type overrides (#1059)
8ffc6c2 fix: undefined httputil and model (#1099)

v1.7.8

24 Dec 14:31
1a87334
Compare
Choose a tag to compare

Changelog

00a256c Remove unnecessary check (#1073)
4f32ae6 chore: drop support go 1.13 (#1069)
f631188 chore: improve code quality (#1086)
9766b4c chore: fix broken go.mod (#1090)
557e1c6 chore: release 1.7.7 (#1087)
75e9d01 chore: remove duplicate walk func (#1070)
9d81576 feat: add separate x-enum-varnames tag (#1083)
a7065ad feat: support global type overrides (#1059)
231fa42 fix: allways init response header map at first. (#1066)
54c9ff9 fix: assignment to entry in nil map with @Header all #1082 (#1085)
d333316 fix: documentation fix formatter link (#1079)
47d0cd2 fix: parsing panics on default response (#1068)

v1.7.6

26 Nov 22:05
305a5cf
Compare
Choose a tag to compare

Changelog

e59f457 chore: fix bug and refactor (#1048)
60fc849 chore: improve code quality (#1049)
8d7941e chore: improve code quality (#1050)
305a5cf chore: increment version (#1062)
819d929 chore: security fix for github.com/gin-gonic/gin < 1.7.0 (#1060)
c21181a chore: version 1.7.5 (#1061)
93acd2a feat: add command for format the swag comment. (#1056)
69fd233 feat: add compatibility with HL7 FHIR standard (#1055)
1780cd2 feat: support arrays in path and header params (#1039)
5237c6d feat: support go-playground/validator tags. (#1045)
eff27cc feat: support replace FieldParser (#1043)
c4ae822 fix: typo error in README.md (#1057)
9b23c9e improve code quality (#1047)
b5ca0bb wrap $ref in allOf when readonly is set (#1034)

v1.7.4

25 Oct 09:15
7ed539e
Compare
Choose a tag to compare

Changelog

bcbae0f Add multipleOf field to parser. (#1008)
9981d9f Auto parse external models when flag parseDependency is set (#1027)
0aac069 Fix link in Chinese introduction (#1005)
271d4d2 add parameter documentation for #1022 (#1023)
18b2bd1 allow multiple Swagger documents (#1022)
732ca2c clarify @accept ussage (#1025)
1a4da01 feat: add extensions for params (#789)
f9645be fix @x-tagGroups (#1010)
7ed539e release v1.7.4 (#1036)
9fb19d0 root level accept/produce params (#1011)
0548f60 text/plain allowed in request body (#1029)

v1.7.3

24 Sep 20:52
800fc06
Compare
Choose a tag to compare

Changelog

497e6e2 correctly parse format on array fields (#973)
0616cef handle *ast.InterfaceType as any type
523e046 add install doc for go 1.17 (#992)
eef90d0 add support for empty response (#989)
a76cfa3 debug info should go to stdout instead of stderr (#990)
0bbefcf improve unit tests (#981)
fd74bcf refactor and lint code (#978)
485f917 support boolean false value in extension (#927)
800fc06 release v1.7.3 (#1007)

v1.7.1

11 Aug 17:07
b19e9cf
Compare
Choose a tag to compare

Changelog

17c1766 Add an example of add a description for enum items (#895)
60ec167 Add support to specify multiple routes for the same function (#957)
fd504eb Added support for @x- attributes on security definition (#971)
95a0837 Chore(readme): update travis-ci link (#958)
b69dfd8 Fix the goreportcard-cli output error (#872) (#873)
505d4f1 Handle duplicate route declaration better (#968)
cb2bdb6 Improve test coverage and code readability. (#967)
e8632e2 Support enums on array parameters (#919)
6f2abdd Support quotes and tabs in general API description (#743)
98b8c70 Update examples.go (#832)
3d90fc0 change the regular expression to fix the issue #853 caused by PR #837 (#854)
2d00d57 chore(deps): bump github.com/gin-gonic/gin (#959)
65cccd7 chore(deps): bump github.com/gin-gonic/gin in /example/go-module-support (#961)
19e5237 chore: alecthomas/template -> text/template (#891)
e7c5cda fix breaking change introduced in go-openapi/spec v0.20.3 (#890)
4dda7e3 fix buil issue on #743 due to wront expected.json (#966)
0ab714a fix gen_test.go (#960)
ff52371 fix security link (#963)
f2f643a provide example and enum values when reporting unsupported type (#921)
b19e9cf release v1.7.1 (#974)
4924b43 security update for ithub.com/gin-gonic/gin (#962)
c71655d support searching multiple directories (#944)
6be354d update documentation regarding go version (#914)

v1.7.0

07 Dec 14:54
a4053fb
Compare
Choose a tag to compare

Changelog

ee29e2b Add go.mod to example/celler (#838)
031a42d Optional second parameter when using object in swaggertype (#844)
e18fc86 Release swag for Linux/ARM64 (#842)
7fdbe7a Update dep latest github.com/swagger/gin-swagger (#819)
2ca4d38 Update dependencies and fix tests (#835)
62e4d9b Update go.mod (#839)
a4053fb chore: release v1.7.0 (#849)
09f9621 feature: support default response, use comma-separated codes to add a… (#837)
c9056f0 issue-503: added type map in example value (#683)
3d083d3 refactor: remove dependency on gin (#800)
3f47d68 update dep latest swaggo/gin-swagger (#825)
88888c5 upgrade spec package and simplify code (#836)