Commit Graph

63 Commits

Author SHA1 Message Date
Anton Troyanov 6433b1c297 feat(ui): configure default expansion depth for models (#158)
* feat(ui): configure default expansion depth for models

This commit adds possibility to configure defaultModelsExpandDepth,
which controls how models (at the bottom of the API doc) are displayed.

Default value is 1, but it can be set to -1 completely hide the models.

https://github.com/swagger-api/swagger-ui/blob/master/docs/usage/configuration.md#display

* doc: update README.md

Added Configuration section describing available configuration options.
2021-09-25 01:45:34 +03:00
Xieyuschen 92cfa4c8ef Edit readme to makes it more friendly to newer (#132)
* edit readme to makes it more friendly to newer

* Fix for reviewing

* Fix comment format

Co-authored-by: Xieyuschen <Xieyuschen@users.noreply.github.com>
2021-09-25 00:25:27 +03:00
Bogdan U f617c815c8 Update ci.yml (#161) 2021-09-23 23:07:29 +03:00
Bogdan U 36e8ef67b6 Add missing pipeline condition 2021-09-23 22:22:51 +03:00
Bogdan U 560c440e4a GitHub actions workflow (#159)
* migrate to GitHub actions

* update example

* update README.md
2021-09-23 22:20:10 +03:00
Bogdan U d7814aa1af chore: add go 1.15 and go 1.16 to travis (#153) 2021-08-12 15:15:06 +03:00
singhwang 6322a8f797 Solve the integration swagger into the gin framework, access the Chinese garbled problem in the json returned by swagger/doc.json. (#78)
enable UTF8 for swagger json documentation
2021-08-11 23:26:37 +03:00
Bogdan U 8c37e9f279 Update README.md 2021-08-04 23:44:53 +03:00
Bogdan U 71be2548eb improve unit test (#152) 2021-08-04 23:19:30 +03:00
dependabot[bot] f5258e93ab chore(deps): bump github.com/gin-gonic/gin from 1.4.0 to 1.7.0 (#151)
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.4.0 to 1.7.0.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.4.0...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-03 15:48:07 +03:00
Liu Yuan 0e6b4ac19e fix data race while set prefix (#125)
fix data race in gin handler
2020-11-03 12:09:07 +02:00
Bogdan U 06d1cc765b Merge pull request #131 from ffenix113/master
Update ugorji/go dependency v1.1.5-pre -> v1.1.13
2020-10-28 09:15:15 +02:00
Yevhen Sylenko 3fc6e81599 Update ugorji/go dependency
Fixes #128
2020-10-27 20:49:40 +01:00
Bogdan U a30e726acf Remove go1.11 build dependecy (#130) 2020-10-24 17:18:15 +08:00
Bogdan U 68c62b3122 Merge pull request #120 from V-know/master
fix the syntax error in readme
2020-10-24 11:46:15 +03:00
Bogdan U 39399e5d75 Merge pull request #129 from alexandregv/master
Fix typos in README
2020-10-24 11:44:07 +03:00
Alexandre GV d6f84722fb Fix typos in README 2020-10-23 20:06:14 +02:00
Eason Lin 0be48022e8 chore(travis): drop go 1.11/1.12 (#124) 2020-08-03 19:46:42 +08:00
Anton Dzyk 4199ce8e17 fix working example/basic/api function (#123) 2020-08-03 19:17:43 +08:00
Woen 36fb1b522f fix the syntax error in readme 2020-07-16 18:24:49 +08:00
Bo-Yi Wu bbeaf5b73c fix import path (#80)
Co-authored-by: Eason Lin <easonlin404@gmail.com>
2020-05-10 01:03:32 +08:00
Eason Lin 819800e541 chore: add go1.12,1.13,1.14 testing (#102) 2020-03-28 14:51:47 +08:00
Eason Lin bcaba835e4 chore: drop go1.10 test (#103) 2020-03-14 16:22:33 +08:00
adibiarsotp 3db8327ddb feat: implement deeplinking (#86) 2019-11-28 13:27:09 +08:00
Menghan Zheng d488a69274 fix import in examples (#70) 2019-07-17 15:42:06 +08:00
Bogdan U 4b6a25595f Merge pull request #69 from swaggo/update-readme
chore: update generated doc import
2019-07-16 14:31:56 +03:00
easonlin e40184058e chore: update generated doc import 2019-07-16 17:23:33 +08:00
Eason Lin 2bdb1e51dc fix(doc): fix go get imported pkg (#68) 2019-07-05 22:50:31 +08:00
Eason Lin 08f491371f feat: update swagger embedded files (#66) 2019-07-05 15:56:58 +08:00
Eason Lin 2d58c08c49 chore(travis): remove go 1.8/1.9 (#67) 2019-07-05 15:30:38 +08:00
Tang Weizhi ddb1576126 chore: improved readme (#61) 2019-06-13 15:24:37 +08:00
Eason Lin 6495b29b49 chore(mod): update gin v1.4.0 and swag v1.5.1 (#60) 2019-06-13 10:33:36 +09:00
Josef Hák dbf6ef4100 feat: support for gzip middleware (#53) 2019-04-03 10:59:18 +08:00
Eason Lin 9668210ca1 feat(WrapHandler): add config using functional options (#52)
* feat(WrapHandler): add config using functional options

* refine comment
2019-03-29 10:46:37 +09:00
Eason Lin f9b4e464b0 doc(readme): fix canonical example (#49) 2019-03-24 21:20:11 +09:00
pei db2fafd4b0 feat: support swagger configuration (#48) 2019-03-24 09:56:13 +08:00
pei acdcd7f6da Revert "feat: support swagger configuration (#46)" (#47)
This reverts commit 814845170e.
2019-03-23 19:16:08 +09:00
Eason Lin 814845170e feat: support swagger configuration (#46) 2019-03-23 17:04:42 +08:00
Eason Lin ea4ea9de0c refactor: panic if error exists (#43) 2019-02-22 18:16:51 +08:00
Eason Lin 0c6fcfd3c7 feat: support go mod (#40) 2019-01-10 16:07:02 +09:00
Nikita Goncharov 6f4fdc3ec4 feat: add disabling handler (#33) 2018-09-26 10:28:12 +08:00
Eason Lin 6192cec7d2 doc(readme): add the -u flag (#32) 2018-09-19 14:22:14 +09:00
Eason Lin e18d29b078 test: add go 1.11 testing (#29) 2018-08-28 10:27:38 +09:00
Eason Lin 8cf3fa9932 [WIP] fix: fix 'See Declarative Comments Format' link (#19)
* fix: fix 'See Declarative Comments Format' link

* fix: fix import example lib
2018-04-14 03:04:08 +09:00
Eason Lin 1510a6d46f chore(travis): add 1.10 version (#15) 2018-02-26 12:19:29 +08:00
Eason Lin 0ee1d2817c doc(readme): add GoDoc 2018-01-12 23:34:00 +08:00
ffischer1984 0e25eab24f doc(readme): improved readme (#10)
less error-prone more intuitive ;)
2018-01-11 09:48:52 +08:00
Eason Lin 1ff949fa14 Update README.md 2017-12-19 18:24:52 +08:00
Fahim Shariar Shoumik 77adc37155 feat: updated swagger ui to 3.5.0. (#4)
* updated swagger ui to 3.5.0

* err fix
2017-11-27 12:35:18 +08:00
Eason Lin 754ef90102 Update README.md 2017-10-25 23:20:17 -05:00