From 9901d630689decd618d963ab92de4ff8bbb5756f Mon Sep 17 00:00:00 2001 From: Tamo Date: Wed, 2 Oct 2024 14:59:42 +0200 Subject: [PATCH] update utoipa to the latest version --- Cargo.lock | 8 ++++---- meilisearch/Cargo.toml | 2 +- meilisearch/src/routes/mod.rs | 2 -- meilisearch/src/routes/tasks.rs | 2 +- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fdfb8c738..a08e351e3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5846,9 +5846,9 @@ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" [[package]] name = "utoipa" -version = "5.0.0-alpha.1" +version = "5.0.0-beta.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c082de846a4d434a9dcfe3358dbe4a0aa5d4f826c3af29cdbd97404e1ffe71f4" +checksum = "86fac56d240b49c629b9083c932ac20a23d926937e67c21ba209f836e2983d4f" dependencies = [ "indexmap", "serde", @@ -5858,9 +5858,9 @@ dependencies = [ [[package]] name = "utoipa-gen" -version = "5.0.0-alpha.1" +version = "5.0.0-beta.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84a71c23e17df16027cc552b5b249a2a5e6a1ea36ab37363a1ac29b69ab36035" +checksum = "31d88270777931b8133b119c953062bd41665bb8507841f7d433f46d2765e9d4" dependencies = [ "proc-macro2", "quote", diff --git a/meilisearch/Cargo.toml b/meilisearch/Cargo.toml index 00eeaacbc..30c98e1ac 100644 --- a/meilisearch/Cargo.toml +++ b/meilisearch/Cargo.toml @@ -104,7 +104,7 @@ tracing-trace = { version = "0.1.0", path = "../tracing-trace" } tracing-actix-web = "0.7.11" build-info = { version = "1.7.0", path = "../build-info" } roaring = "0.10.2" -utoipa = { version = "5.0.0-alpha.1", features = ["actix_extras", "non_strict_integers"] } +utoipa = { version = "5.0.0-beta.0", features = ["actix_extras", "non_strict_integers"] } utoipa-scalar = { version = "0.2.0-alpha.0", features = ["actix-web"] } [dev-dependencies] diff --git a/meilisearch/src/routes/mod.rs b/meilisearch/src/routes/mod.rs index 9efb19bc4..ed3f767b1 100644 --- a/meilisearch/src/routes/mod.rs +++ b/meilisearch/src/routes/mod.rs @@ -34,8 +34,6 @@ pub mod tasks; #[derive(OpenApi)] #[openapi( nest((path = "/tasks", api = tasks::TaskApi) ), - // paths(get_todos, create_todo, delete_todo, get_todo_by_id, update_todo, search_todos), - // components(schemas(TaskId)) )] pub struct MeilisearchApi; diff --git a/meilisearch/src/routes/tasks.rs b/meilisearch/src/routes/tasks.rs index ffd25aa75..89a1df722 100644 --- a/meilisearch/src/routes/tasks.rs +++ b/meilisearch/src/routes/tasks.rs @@ -254,7 +254,7 @@ async fn cancel_tasks( Ok(HttpResponse::Ok().json(task)) } -/// Delete tasks. +/// Delete tasks /// /// Delete [tasks](https://docs.meilisearch.com/learn/advanced/asynchronous_operations.html) on filter #[utoipa::path(