Skip to content

Commit

Permalink
Update Swagger UI to v5.17.14 (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
vearutop authored Oct 4, 2024
1 parent 5fb6fce commit 9b4896a
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gorelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ concurrency:
cancel-in-progress: true

env:
GO_VERSION: 1.20.x
GO_VERSION: 1.23.x
jobs:
gorelease:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- created
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GO_VERSION: 1.20.x
GO_VERSION: 1.23.x
jobs:
build:
name: Upload Release Assets
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export RELEASE_TARGETS="darwin/amd64 darwin/arm64 linux/amd64 linux/arm64 window

SWAGGER_UI_VERSION_V3 := v3.52.5
SWAGGER_UI_VERSION_V4 := v4.19.1
SWAGGER_UI_VERSION_V5 := v5.10.3
SWAGGER_UI_VERSION_V5 := v5.17.14

## Update assets for Swagger UI v3
update-v3:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ just build and run.
### V5

Static assets for `v5` are built from Swagger
UI [v5.10.3](https://github.com/swagger-api/swagger-ui/releases/tag/v5.10.3).
UI [v5.17.14](https://github.com/swagger-api/swagger-ui/releases/tag/v5.17.14).

[CDN-based](https://cdnjs.com/libraries/swagger-ui) `v5cdn` uses Swagger
UI [v5.10.3](https://github.com/swagger-api/swagger-ui/releases/tag/v5.10.3).
UI [v5.17.14](https://github.com/swagger-api/swagger-ui/releases/tag/v5.17.14).

### V4

Expand Down
2 changes: 1 addition & 1 deletion cmd/swgui/swgui.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func main() {
flag.Parse()

if *ver {
fmt.Printf("%s, Swagger UI %s\n", version.Info().Version, "v5.10.3")
fmt.Printf("%s, Swagger UI %s\n", version.Info().Version, "v5.17.14")

return
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/swaggest/swgui
go 1.17

require (
github.com/bool64/dev v0.2.32
github.com/bool64/dev v0.2.36
github.com/shurcooL/httpgzip v0.0.0-20190720172056-320755c1c1b0
github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546
github.com/vearutop/statigz v1.4.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
github.com/andybalholm/brotli v1.0.5 h1:8uQZIdzKmjc/iuPu7O2ioW48L81FgatrcpfFmiq/cCs=
github.com/andybalholm/brotli v1.0.5/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/bool64/dev v0.2.28/go.mod h1:iJbh1y/HkunEPhgebWRNcs8wfGq7sjvJ6W5iabL8ACg=
github.com/bool64/dev v0.2.32 h1:DRZtloaoH1Igky3zphaUHV9+SLIV2H3lsf78JsJHFg0=
github.com/bool64/dev v0.2.32/go.mod h1:iJbh1y/HkunEPhgebWRNcs8wfGq7sjvJ6W5iabL8ACg=
github.com/bool64/dev v0.2.36 h1:yU3bbOTujoxhWnt8ig8t94PVmZXIkCaRj9C57OtqJBY=
github.com/bool64/dev v0.2.36/go.mod h1:iJbh1y/HkunEPhgebWRNcs8wfGq7sjvJ6W5iabL8ACg=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
Expand Down
32 changes: 16 additions & 16 deletions v5/static.go

Large diffs are not rendered by default.

Binary file modified v5/static/swagger-ui-bundle.js.gz
Binary file not shown.
Binary file modified v5/static/swagger-ui-standalone-preset.js.gz
Binary file not shown.
Binary file modified v5/static/swagger-ui.css.gz
Binary file not shown.
Binary file modified v5/static/swagger-ui.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion v5cdn/cdn.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package v5cdn

const (
// AssetsBase is a base URL for the assets.
AssetsBase = "https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/5.10.3/"
AssetsBase = "https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/5.17.14/"

// FaviconBase is a base URL for favicons.
FaviconBase = "https://petstore.swagger.io/"
Expand Down

0 comments on commit 9b4896a

Please sign in to comment.