Skip to content

Commit

Permalink
Update to v4.14.0 (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
vearutop authored Sep 12, 2022
1 parent 0f3b5cc commit 1f3b833
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 30 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ endif
# Add your custom targets here.

SWAGGER_UI_VERSION_V3 := v3.52.5
SWAGGER_UI_VERSION_V4 := v4.10.3
SWAGGER_UI_VERSION_V4 := v4.14.0

## 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 @@ -16,10 +16,10 @@ UI [v3.52.4](https://github.com/swagger-api/swagger-ui/releases/tag/v3.52.4).
### V4

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

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


## How to use
Expand Down
50 changes: 24 additions & 26 deletions v4/static.go

Large diffs are not rendered by default.

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

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

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

0 comments on commit 1f3b833

Please sign in to comment.