sdghchj
45b6a78e0f
Merge pull request #326 from waterlinked/master
...
add DefaultModelExpandDepth and DefaultModelRendering to Config
2026-01-15 16:10:47 +08:00
illionillion
48b8bcf40c
fix: return index.html for /swagger instead of redirecting (static server-like behavior)
2025-11-24 14:52:23 +09:00
tholok
36b13ec9ce
feat: add options to Config
...
add DefaultModelExpandDepth and DefaultModelRendering
see https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration/
2025-11-06 12:21:38 +01:00
Mario
19f4300ad0
Allow to enable Proof Key for Code Exachange (PKCE) ( #271 )
...
* Allow to enable Proof Key for Code Exachange (PKCE)
Wires usePkceWithAuthorizationCodeGrant OAuth2 option of the Swagger UI to the options interface
* Changes according to maintainers review
---------
Co-authored-by: Mario Gruber <mario.gruber@sbb.ch>
2024-12-02 23:44:47 +02:00
Aleem Isiaka
3b4340f1a7
move css and js to seperate files ( #280 )
...
* move css and js to seperate files
* Test passes
* Add test for the new files
2023-09-07 10:04:27 +03:00
Bogdan U
d496a34906
chore: remove google fonts ( #227 )
2022-08-09 20:48:06 +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
bd7f2153bf
chore: linting ( #206 )
2022-04-22 14:41:42 +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
Link Duan
74c905c98f
feat: enable customization of HTML title ( #180 )
2021-11-19 12:00:42 +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
Liu Yuan
0e6b4ac19e
fix data race while set prefix ( #125 )
...
fix data race in gin handler
2020-11-03 12:09:07 +02:00
adibiarsotp
3db8327ddb
feat: implement deeplinking ( #86 )
2019-11-28 13:27:09 +08: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
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
Nikita Goncharov
6f4fdc3ec4
feat: add disabling handler ( #33 )
2018-09-26 10:28:12 +08:00
Eason Lin
a10887db49
doc(gin-swagger): update docments.
2017-08-04 11:25:46 +08:00
Eason Lin
9f415fef24
fix(example): fix simple web import
2017-08-04 11:22:19 +08:00
Eason Lin
8eeaf9f74c
refactor(swag): use swag package
2017-08-04 11:18:14 +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
Eason Lin
1e97bf3e19
Develop
2017-06-25 17:10:32 +08:00