diff --git a/Cargo.lock b/Cargo.lock index ddf6d7b..6612013 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -87,7 +87,7 @@ dependencies = [ "tracing", "tracing-subscriber", "url", - "utoipa", + "utoipa 4.0.0", "utoipa-swagger-ui", "uuid", ] @@ -116,7 +116,7 @@ dependencies = [ "tracing", "ureq", "url", - "utoipa", + "utoipa 3.5.0", "validator", ] @@ -3275,7 +3275,19 @@ dependencies = [ "indexmap 2.0.0", "serde", "serde_json", - "utoipa-gen", + "utoipa-gen 3.5.0", +] + +[[package]] +name = "utoipa" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b208a50ff438dcdc887ea3f2db59530bd2f4bc3d2c70630e4d7ee7a281a1d1b" +dependencies = [ + "indexmap 2.0.0", + "serde", + "serde_json", + "utoipa-gen 4.0.0", ] [[package]] @@ -3292,6 +3304,20 @@ dependencies = [ "uuid", ] +[[package]] +name = "utoipa-gen" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bd516d8879043e081537690bc96c8f17b5a4602c336aecb8f1de89d9d9c7e72" +dependencies = [ + "proc-macro-error", + "proc-macro2", + "quote", + "regex", + "syn 2.0.37", + "uuid", +] + [[package]] name = "utoipa-swagger-ui" version = "3.1.5" @@ -3304,7 +3330,7 @@ dependencies = [ "rust-embed", "serde", "serde_json", - "utoipa", + "utoipa 3.5.0", "zip", ] diff --git a/apiserver/Cargo.toml b/apiserver/Cargo.toml index 1dc2028..07a9a4f 100644 --- a/apiserver/Cargo.toml +++ b/apiserver/Cargo.toml @@ -35,7 +35,7 @@ tower-http = { version = "0.4.4", features = ["full"] } tower_governor = { git = "https://github.com/benwis/tower-governor", rev="01e1a107" } tracing = { workspace = true, optional = false } tracing-subscriber = { workspace = true, optional = false } -utoipa = { version = "3", features = ["axum_extras", "uuid", "chrono"] } +utoipa = { version = "4", features = ["axum_extras", "uuid", "chrono"] } utoipa-swagger-ui = { version = "3", features = ["axum"] } uuid = { version = "1.4.1", features = ["serde", "v4", "fast-rng", "macro-diagnostics"] } url = { workspace = true, optional = false }