Skip to content

Commit

Permalink
Update to Swagger UI 5.0.0-alpha.13 (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
vearutop authored May 23, 2023
1 parent 9946136 commit e08f4b5
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cloc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: pr
- name: Checkout base code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.base.sha }}
path: base
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gorelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- name: Install Go stable
if: env.GO_VERSION != 'tip'
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- name: Install Go tip
Expand All @@ -29,9 +29,9 @@ jobs:
~/sdk/gotip/bin/go version
echo "PATH=$HOME/go/bin:$HOME/sdk/gotip/bin/:$PATH" >> $GITHUB_ENV
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Gorelease cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/go/bin/gorelease
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ UI [v4.18.1](https://github.com/swagger-api/swagger-ui/releases/tag/v4.18.1).
### V5

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

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


## How to use
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.26
github.com/bool64/dev v0.2.27
github.com/shurcooL/httpgzip v0.0.0-20190720172056-320755c1c1b0
github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546
github.com/vearutop/statigz v1.2.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.4 h1:V7DdXeJtZscaqfNuAdSRuRFzuiKlHSC/Zh3zl9qY3JY=
github.com/andybalholm/brotli v1.0.4/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/bool64/dev v0.2.22/go.mod h1:iJbh1y/HkunEPhgebWRNcs8wfGq7sjvJ6W5iabL8ACg=
github.com/bool64/dev v0.2.26 h1:pBIEcPnNRB5K6hPdGXPhATY3Jdlix3oD//whqIE2ArI=
github.com/bool64/dev v0.2.26/go.mod h1:iJbh1y/HkunEPhgebWRNcs8wfGq7sjvJ6W5iabL8ACg=
github.com/bool64/dev v0.2.27 h1:mFT+B74mFVgUeUmm/EbfM6ELPA55lEXBjQ/AOHCwCOc=
github.com/bool64/dev v0.2.27/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
38 changes: 19 additions & 19 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.0.0-alpha.0/"
AssetsBase = "https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/5.0.0-alpha.13/"

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

0 comments on commit e08f4b5

Please sign in to comment.