diff --git a/Cargo.lock b/Cargo.lock index 8bd06f2..87ea6c8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1073,7 +1073,7 @@ dependencies = [ "tower 0.4.13", "tower-http 0.5.2", "tracing", - "utoipa", + "utoipa 5.5.0", "utoipa-swagger-ui", "uuid", "validator", @@ -4426,7 +4426,19 @@ dependencies = [ "indexmap 2.14.0", "serde", "serde_json", - "utoipa-gen", + "utoipa-gen 4.3.1", +] + +[[package]] +name = "utoipa" +version = "5.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8bde15df68e80b16c7d16b9616e80770ad158988daa56a27dccd1e55558b0160" +dependencies = [ + "indexmap 2.14.0", + "serde", + "serde_json", + "utoipa-gen 5.5.0", ] [[package]] @@ -4436,6 +4448,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "20c24e8ab68ff9ee746aad22d39b5535601e6416d1b0feeabf78be986a5c4392" dependencies = [ "proc-macro-error", + "proc-macro2", + "quote", + "syn 2.0.118", +] + +[[package]] +name = "utoipa-gen" +version = "5.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ba0b99ee52df3028635d93840c797102da61f8a7bb3cf751032455895b52ef8" +dependencies = [ "proc-macro2", "quote", "regex", @@ -4457,7 +4480,7 @@ dependencies = [ "serde", "serde_json", "url", - "utoipa", + "utoipa 4.2.3", "zip", ] diff --git a/Cargo.toml b/Cargo.toml index e63f43c..2114955 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -100,7 +100,7 @@ governor = "0.6" tokio-cron-scheduler = "0.10" # ---- openapi ---- -utoipa = { version = "4", features = ["axum_extras", "chrono", "uuid"] } +utoipa = { version = "5", features = ["axum_extras", "chrono", "uuid"] } utoipa-swagger-ui = { version = "7", features = ["axum"] } # ---- errors ----