Skip to content

Commit

Permalink
chore: Upgrade Swagger UI to v5.5.0 (#405)
Browse files Browse the repository at this point in the history
* chore: Upgrade Swagger UI to v5.5.0

* Version 0.54.3
  • Loading branch information
chrislearn authored Sep 5, 2023
1 parent 3554b4c commit 7f5c547
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 23 deletions.
34 changes: 17 additions & 17 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["crates/*"]
resolver = "2"

[workspace.package]
version = "0.54.2"
version = "0.54.3"
authors = ["Chrislearn Young <[email protected]>"]
edition = "2021"
rust-version = "1.67"
Expand Down Expand Up @@ -84,23 +84,23 @@ rustls = "0.21"
rustls-pemfile = "1"
rust-embed = {version = ">= 6, <= 8"}
salvo-utils = { version = "0.0.5", default-features = true }
salvo_macros = { version = "0.54.2", path = "crates/macros", default-features = false }
salvo_core = { version = "0.54.2", path = "crates/core", default-features = false }
salvo_extra = { version = "0.54.2", path = "crates/extra", default-features = false }
salvo-compression = { version = "0.54.2", path = "crates/compression", default-features = false }
salvo-cache = { version = "0.54.2", path = "crates/cache", default-features = false }
salvo-cors = { version = "0.54.2", path = "crates/cors", default-features = false }
salvo-csrf = { version = "0.54.2", path = "crates/csrf", default-features = false }
salvo-flash = { version = "0.54.2", path = "crates/flash", default-features = false }
salvo_macros = { version = "0.54.3", path = "crates/macros", default-features = false }
salvo_core = { version = "0.54.3", path = "crates/core", default-features = false }
salvo_extra = { version = "0.54.3", path = "crates/extra", default-features = false }
salvo-compression = { version = "0.54.3", path = "crates/compression", default-features = false }
salvo-cache = { version = "0.54.3", path = "crates/cache", default-features = false }
salvo-cors = { version = "0.54.3", path = "crates/cors", default-features = false }
salvo-csrf = { version = "0.54.3", path = "crates/csrf", default-features = false }
salvo-flash = { version = "0.54.3", path = "crates/flash", default-features = false }
salvo-http3 = { version = "0.0.4", default-features = false }
salvo-jwt-auth = { version = "0.54.2", path = "crates/jwt-auth", default-features = false }
salvo-oapi = { version = "0.54.2", path = "./crates/oapi", default-features = false }
salvo-oapi-macros = { version = "0.54.2", path = "crates/oapi-macros", default-features = false }
salvo-otel = { version = "0.54.2", path = "crates/otel", default-features = false }
salvo-proxy = { version = "0.54.2", path = "crates/proxy", default-features = false }
salvo-rate-limiter = { version = "0.54.2", path = "crates/rate-limiter", default-features = false }
salvo-serve-static = { version = "0.54.2", path = "crates/serve-static", default-features = false }
salvo-session = { version = "0.54.2", path = "crates/session", default-features = false }
salvo-jwt-auth = { version = "0.54.3", path = "crates/jwt-auth", default-features = false }
salvo-oapi = { version = "0.54.3", path = "./crates/oapi", default-features = false }
salvo-oapi-macros = { version = "0.54.3", path = "crates/oapi-macros", default-features = false }
salvo-otel = { version = "0.54.3", path = "crates/otel", default-features = false }
salvo-proxy = { version = "0.54.3", path = "crates/proxy", default-features = false }
salvo-rate-limiter = { version = "0.54.3", path = "crates/rate-limiter", default-features = false }
salvo-serve-static = { version = "0.54.3", path = "crates/serve-static", default-features = false }
salvo-session = { version = "0.54.3", path = "crates/session", default-features = false }
serde = "1"
serde_json = "1"
serde-xml-rs = "0.6"
Expand Down
2 changes: 1 addition & 1 deletion crates/oapi/src/swagger_ui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use salvo_core::{async_trait, Depot, Error, FlowCtrl, Handler, Request, Response
use serde::Serialize;

#[derive(RustEmbed)]
#[folder = "src/swagger_ui/v5.4.2"]
#[folder = "src/swagger_ui/v5.5.0"]
struct SwaggerUiDist;

const INDEX_TMPL: &str = r#"
Expand Down
3 changes: 0 additions & 3 deletions crates/oapi/src/swagger_ui/v5.4.2/swagger-ui-bundle.js

This file was deleted.

2 changes: 0 additions & 2 deletions crates/oapi/src/swagger_ui/v5.4.2/swagger-ui.js

This file was deleted.

3 changes: 3 additions & 0 deletions crates/oapi/src/swagger_ui/v5.5.0/swagger-ui-bundle.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions crates/oapi/src/swagger_ui/v5.5.0/swagger-ui.js

Large diffs are not rendered by default.

0 comments on commit 7f5c547

Please sign in to comment.