Commit Graph

20 Commits

Author SHA1 Message Date
Bogdan U 08063514f5
chore: remove swagger-files from current project in favor of github.com/swaggo/files (#215) 2022-06-11 09:56:01 +03:00
Josh Strohminger bdcc4ec34b
Configure the default OAuth2 ClientID (#209) 2022-05-04 17:13:38 +03:00
Bogdan U 88c9ed2643
chore: add multiple api example (#207)
* chore: add multiple api example
* chore: update README.md
2022-04-22 16:50:33 +03:00
Bogdan U f844160fb7
chore: security improvement (#203) 2022-04-16 10:34:09 +03:00
Jakub Mikłasz cb6be4cbcf
feat: add support for swagger-ui persist-authorization (#195) 2022-02-06 13:05:35 +02:00
h44z 8ae7504f84
feat: allow multiple Swagger documents (#168) 2021-11-05 00:49:34 +02:00
alvaro garcia fernandez 498deb2d90
fix: oauth2-redirect outside of the base swagger path (#177) 2021-11-04 22:25:29 +02:00
Bogdan U 3e21b5982b
add png content-type headers (#169) 2021-10-12 22:35:19 +03:00
Bogdan U b388ffa3dd
add docExpansion feature (#163)
* add docExpansion feature

* add pull request template
2021-09-25 14:14:03 +03:00
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
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 71be2548eb
improve unit test (#152) 2021-08-04 23:19:30 +03:00
Josef Hák dbf6ef4100 feat: support for gzip middleware (#53) 2019-04-03 10:59:18 +08: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
Nikita Goncharov 6f4fdc3ec4 feat: add disabling handler (#33) 2018-09-26 10:28:12 +08:00
Eason Lin 9f415fef24 fix(example): fix simple web import 2017-08-04 11:22:19 +08:00
Eason Lin 27e43b231e fix(import): adjust import path 2017-07-07 00:57:54 +08:00
Eason Lin ac24661f04 add tests 2017-06-25 17:23:11 +08:00