Releases: swaggo/swag
v1.6.9
v1.6.8
Changelog
6a59a20 Add ability to set 'swaggerignore' on embedded fields (#779)
366e536 Add operationId uniqueness check (#732)
542e932 Correct typos in README (#773)
cbfd47b Don't generate docs for nested structs without fields (#752)
e769bbe Fix typos in maximum/minimum attributes (#762)
1889a3a Ignore swag file from root dir only (#775)
33e4ac3 chore(travis): support go1.15 (#787)
b712c54 feat: add parse depth flag (#766)
3ce6eb2 feat: generate formData params via go struct (#770)
a72dff0 fix README_zh-CN typo (#744)
01fb318 fix x-logo vendor extension & parse x-codeSamples from files (#760)
d8893d0 fix: don't generate license field if it's empty (#768)
940d072 fix: fmt check lint (#740)
6937d1c fix: honor x-order while sorting query parameters (#806)
4a18bc9 fix: primitive type of param in body; use const string for type (#734)
80b6894 fix: replace unsupported and vulnerable satori/go.uuid with gofrs/uuid (#798)
b28321d parseDepth flag readme (#769)
1868a02 readme: add absent annotation (#733)
c5fb1a1 refactor: fix more than one models have the same the from different packages (#736)
67cb097 refactor: build spec.Schema; parse object in request (#728)
ec7a5ee stable renaming to fix issue #745; uncapitalize tow members of parser (#746)
v1.6.7
Changelog
df54d45 Add --parseInternal flag to support internal underlying types (#508)
cbe4f50 Merge branch 'master' into fix-short-aliases-flag-is-not-working
59734e3 Merge branch 'master' into fixed-query-order
2b0d62a Merge branch 'master' into fixed-query-order
9307fce Merge branch 'master' into internal-package-parsing-support
f63189d Merge branch 'master' into internal-package-parsing-support
89a93be Merge branch 'master' into master
80a9996 Merge pull request #509 from paulcamper/internal-package-parsing-support
c7982e6 Merge pull request #681 from breeswish/fixed-query-order
7c765dd Merge pull request #706 from danielpoe/master
a5d963c Merge pull request #713 from swaggo/fix-short-aliases-flag-is-not-working
581308b Merge pull request #714 from comphilip/master
3f54376 Override deep-level fields in request body object
719cfd8 Sort query parameters generated from object
d4a9b4b Update main.go
6a1781e chore(README): add fiber-swagger repo link
51088c1 chore(README): Add required docs to README.md (#703)
df209af chore: jump to v1.6.7 (#725)
c03e213 fix code checking
16c21c4 fix code checking error and fix #717
271cf8f fix: short aliase flag is not working
fca3878 mention flamingo framework support
e72e13e readme: adjust flag
v1.6.6
Changelog
0937fc4 Add Chinese translation of readme #695
38f619b Add Chinese translation of readme #695
2107ee2 Add documents in README.md
4922334 Add ref link in README.md
ccc5ab2 Added Dockerfile (#671)
1e6c432 Added unit test for cgo package import
c0c2ff8 Correct translation
c6d9620 Examples: Fix doc typos in accounts.
87eac7e Fix dataTypeFormatlink link. (#614)
e1b41ed Fix make lint and make fmt-check
577f62e Issue #225
12801d5 Issue #225
51c115b Issue #225
ec7b993 Issue #225
4701737 Merge branch 'master' into feat/cgo
d5a5130 Merge branch 'master' into feat/cgo
bb8f590 Merge branch 'master' into feat/cgo
aff959e Merge branch 'master' into fix-665-json-strings
a1ce1cc Merge branch 'master' into master
aaba525 Merge branch 'master' into master
6f65efc Merge branch 'master' into master
a62d23a Merge branch 'master' into master
a7bae01 Merge branch 'master' into master
eb365f7 Merge branch 'master' into master
132eace Merge branch 'master' into nested_schema
5cd03f0 Merge pull request #629 from wsnotify/issue-225
8e8a052 Merge pull request #643 from thylong/docs/fix-typos
8e21f4c Merge pull request #651 from whunmr/nested_schema
ac5b59a Merge pull request #660 from poccariswet/master
86f9d9c Merge pull request #662 from MaitreDede/feat/cgo
3ebb56e Merge pull request #668 from ShoshinNikita/master
dc90151 Merge pull request #675 from tcarreira/master
93e5f15 Merge pull request #677 from tcarreira/fix-665-json-strings
7c58d34 Merge pull request #697 from Promacanthus/readme_zh-cn
e07798f Merge pull request #701 from Turing-Chu/master
593555a Overriding deep-level fields in response object (#672)
51a9215 Reflect optional output directory in the generated docs.go (#617)
3cafd99 Revert "cleanup : removed unused source"
ecf0baa Support Model Composition in Response with allOf and ref
2f74ff2 Support colletionFormat for array params in query; Exclude directories and files (#642)
366d393 Update README_zh-CN.md
a7e0180 Update parser.go
c9d332d Update parser.go
2c8dd22 Update property.go
e10c4d7 [FIX] parse comment error integer to string
c168a63 added markdwon files to single modules (#630)
be7ef6b chore(travis): add go 1.14 test (#633)
de5290b chore: add go1.13 support (#613)
4508062 chore: drop go1.11&1.12 ci (#710)
d8a6d4a chore: jump to v1.6.6 (#704)
070af50 cleanup : removed unused source
ca3ddd8 code optimization
86e76b7 feat: migrate to using/urfave/cli/v2
(#618)
4676cb1 feat: add tag 'swaggerignore' to exclude a field from struct (#635)
7290e9b feat: support renaming model to display in swagger UI (#631)
6fb2a2d fix TestParseNonExportedJSONFields
f150c13 fix: add code to handle and skip structs with "func" fields. (#616)
3b82b47 issue 650: fix integer bug in response; support multi fields overriding. (#655)
fa78550 issue-665: fix example when using json=",string"
187ec48 optimize
5ba88c8 optimize
a4c0f6d optimize
5fcb6d5 parseField skips not-exported (encoding/json-like)
5b6f1b7 simplified cgo test
b9554c4 skip cgo package
b35892a support embedded structures with alias instead of package name
4c502aa testdata/alias_import: add test for embedded field
v1.6.5
v1.6.4
Changelog
bef48a6 Add generated time flag (#501)
ab69c23 Fix some typos (#543)
8cedf42 Fix: Use of go primitive array type in body give error (#593)
68ab45d add support for map nested in struct (#521)
d6d8b49 chore(CI): add GitHub action (#571)
008c37b chore(refactor): improve code quality (#540)
de444e5 chore: add GitHub action (#568)
b564023 chore: correcting the comet (#555)
10630b9 feat: optimize getArrayPropertyName; support [][]string fixing #562 (#588)
0e5dd7d feat: support array of maps (#586)
74d6d6c feature: extend struct's simple members in query comment (#594)
b731715 fix bug in array param in body (#579)
b734f40 fix issue with import aliases (#483) (#573)
75ecf95 fix issue with urfave/cli (#557)
6d49876 fix(githubCI):working directory issue. (#580)
549622f fix: body object without package name in param comments use default package name (#591)
73e3f31 fix: change the condition for checking custom arrayType (#590)
eb4805c fix: fully support map and optimization (#583)
c05c273 fix: required tag doesn't work with nested object property #504 (#541)
fb06668 fix: router now support colon sign. Useful for custom methods using custom verbs (#552)
6567f07 fix: unnecessary type field in parameter body schema
95cdaaf jump to v1.6.4 (#597)
v1.6.3
Changelog
5c2a121 Changed from strings.ReplaceAll to strings.Replace
b09d3f5 Correct error in checking for primitive data type (#516)
d74ed70 Fix nested struct parsing (#514)
1c38154 Fixed JSON issue with Multiline API Description
9710e4b Improved error message, when a markdown file is missing … (#491)
c2f6613 Merge pull request #481 from lonnblad/programmatic-multiline-api-description
16ebb32 Merge pull request #492 from swaggo/update-go-mod
77b9020 chore: add docs.go test coverage (#482)
3d60281 chore: add markdown example (#486)
4f5a434 chore: improve test coverage (#448)
c9f403a chore: jump version to v1.6.3 (#531)
e0c8bbb chore: use github action (#528)
7c7bb14 delete deps
e97b3a0 doc(readme): additional Example for swaggertype (#498)
33a7940 exclude developer tools from go modules. (#493)
e22b392 feat(parser): support slice of primitives for query and body, support primitives for body (#489)
be88a64 feat: embeded struct not parsed (#463)
4642ffd feat: support @x- attributes for operations (#452)
bd1235d fix code coverage in operation.go (#456)
6de832a fix: dynamic schemes bugfix (#450)
c19280e fix: error resolving host and basepath (#475)
72f30f8 fix: support anonymous nested structure slice parsing (#462)
d8cb1c8 fix: unnecessary type field on response objects (#459)
67075e4 refactor(gen.go): improve code coverage (#468)
8743381 refactor: reduce code complexity (#487)
efcfb3d support for read only, test by adding read only attribute to id of pet (#529)
4f860d7 tag.docs.description typos (#500)
v1.6.2
Changelog
52091f1 chore: release v1.6.2 (#447)
288d21c enhancement: remove backticks from struct field's comment (#442)
9fbf26c feat: ability to set "schemes" programatically (#438)
be6d0b2 fix: only execute 'go list' when enable 'parseDependency' flag (#439)
c8a5281 fix: variables in the assignment caused compile error (#446)
v1.6.1
v1.6.0
Changelog
afb3de9 chore(mod): remove gin dependence (#424)
e868ec0 chore: fix example comment at ParseParamComment func
393e5cc chore: release v1.6.0 (#430)
593e936 feat: add option to explicitly include or exclude third party dependencies (#426)
b534de4 feat: added deprecation parsing (#410)
11619ac feat: found declarative annotations from go-module packages (#415)
e3192f3 feat: implement parsing extension on root level openapi (#416)
6170d1b feat: support markdown description (#377)
d2e27a2 fix: don't need to parse sub package when found dependencies (#425)
016b87b fix: ignore .go files in 'testdata' folder because it can be invalid (#418)
6ee61d7 refactor: added some error checks (#411)