Commit Graph

105 Commits

Author SHA1 Message Date
illionillion 48b8bcf40c fix: return index.html for /swagger instead of redirecting (static server-like behavior) 2025-11-24 14:52:23 +09:00
dependabot[bot] 2b8554dea5
chore(deps): bump google.golang.org/protobuf from 1.28.1 to 1.33.0 (#293)
Bumps google.golang.org/protobuf from 1.28.1 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-02 13:45:16 +03:00
dependabot[bot] 08e4a929c9
chore(deps): bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 (#270)
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.9.0 to 1.9.1.
- [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.9.0...v1.9.1)

---
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>
2025-09-02 13:42:28 +03:00
dependabot[bot] 7d8970259b
chore(deps): bump golang.org/x/net from 0.8.0 to 0.23.0 (#298)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.8.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.8.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-02 13:26:49 +03:00
Bogdan Ungureanu 76a92d5db8
Update Go versions in CI workflow (#324) 2025-09-02 13:23:45 +03: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
Fahad aa92a0ac3f
Update ReadMe (#291) 2023-12-10 11:57:54 +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 cc12e52495
chore: bump golang.org/x/net to v0.7.0 amd gin to 1.9.0 (#262)
* chore: bump golang.org/x/net to v0.7.0

* chore: bump golang.org/x/net to v0.7.0

* chore: bump golang.org/x/net to v0.7.0

* chore: bump golang.org/x/net to v0.7.0

* chore: bump golang.org/x/net to v0.7.0 amd gin to 1.9.0

* chore: drop support for go 1.16
2023-03-28 14:46:01 +03:00
Bogdan U 753ceaa04e
Revert "Fix test error (#242)" (#261)
This reverts commit eae73babe0.
2023-03-21 00:16:58 +02:00
杨成锴 eae73babe0
Fix test error (#242)
* Fix test error

* Fix test error
2023-03-20 23:47:49 +02:00
Bogdan U a056fe7b58
chore: remove go 1.15 support (#259) 2023-03-20 23:36:21 +02:00
RadientBrain 703cabc5fb
fix: typo in Readme.md (#254)
* fixed typo
2023-02-27 23:08:03 +02:00
Berserk 0613417b2f
doc: requires a version when current directory is not in a module (#244) 2022-11-14 14:52:29 +02:00
WANG CHAO c8d47d5b4a
chore: Update multiple API example (#224) 2022-09-06 10:36:31 +03:00
Zuhal Didem Aytac f0f0058b14
fix: typo in gin-swagger parameter (#235) 2022-09-06 10:35:14 +03:00
Bogdan U d496a34906
chore: remove google fonts (#227) 2022-08-09 20:48:06 +03:00
venu-prasanna-tw b9e926c528
fix: update gin-contrib/gzip to latest version (#220) 2022-07-06 22:18:56 +03:00
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
Bogdan U 01231131c7
chore: update swagger-ui to 4.11.0 (#214) 2022-06-11 00:58:29 +03:00
Elon Chen a0f71d471b
Update README.md (#213)
corrected grammar mistakes
2022-05-30 23:34:59 +03:00
liaol de2344d4fd
doc: update See Declarative Comments Format URL (#212) 2022-05-20 16:28:17 +03:00
stepbystep2 eb1f2ffcfc
docs: starting in Go 1.17, use `go install`. (#210) 2022-05-12 09:21:43 +03:00
Josh Strohminger bdcc4ec34b
Configure the default OAuth2 ClientID (#209) 2022-05-04 17:13:38 +03:00
Bogdan U 64d8dea07f
chore: dependencies (#208) 2022-04-27 18:39:20 +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
Nishith Savla 2ae0634528
fix: typo in word DocExpansion in Readme (#198) 2022-02-22 14:04:11 +02:00
Jakub Mikłasz cb6be4cbcf
feat: add support for swagger-ui persist-authorization (#195) 2022-02-06 13:05:35 +02:00
Bogdan U 0bb2c39427
chore: preserve compatibility with swagger (#194) 2022-02-06 11:18:16 +02:00
Bogdan U 77495f6d48
chore: drop go1.14 support (#193)
* chore: drop go1.14 support
* chore: update go.mod
2022-02-06 11:07:28 +02:00
Bogdan U 872c67c751
chore: drop go1.13 (#190) 2022-01-18 20:34:08 +02:00
Link Duan 74c905c98f
feat: enable customization of HTML title (#180) 2021-11-19 12:00:42 +02:00
Jasper 301224e3df
fix: incomplete sentences in README (#179) 2021-11-15 14:15:10 +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
Ben Wolfaardt 7da8e84293
doc: correct syntax (#175) 2021-11-02 22:10:35 +02:00
Bogdan U 3e21b5982b
add png content-type headers (#169) 2021-10-12 22:35:19 +03:00
Bogdan U c14c0debe8
add goreleaser support (#165)
* add goreleaser.yml
add README.md

* update goreleaser
2021-09-25 15:24:06 +03:00
Bogdan U 5ef0958c32
update swagger ui to 3.52.0 (#164) 2021-09-25 14:33:53 +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
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