mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-30 00:34:26 +01:00
update utoipa to the latest version
This commit is contained in:
parent
4859a36cb6
commit
9901d63068
8
Cargo.lock
generated
8
Cargo.lock
generated
@ -5846,9 +5846,9 @@ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "utoipa"
|
name = "utoipa"
|
||||||
version = "5.0.0-alpha.1"
|
version = "5.0.0-beta.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "c082de846a4d434a9dcfe3358dbe4a0aa5d4f826c3af29cdbd97404e1ffe71f4"
|
checksum = "86fac56d240b49c629b9083c932ac20a23d926937e67c21ba209f836e2983d4f"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"indexmap",
|
"indexmap",
|
||||||
"serde",
|
"serde",
|
||||||
@ -5858,9 +5858,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "utoipa-gen"
|
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"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "84a71c23e17df16027cc552b5b249a2a5e6a1ea36ab37363a1ac29b69ab36035"
|
checksum = "31d88270777931b8133b119c953062bd41665bb8507841f7d433f46d2765e9d4"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
"quote",
|
"quote",
|
||||||
|
@ -104,7 +104,7 @@ tracing-trace = { version = "0.1.0", path = "../tracing-trace" }
|
|||||||
tracing-actix-web = "0.7.11"
|
tracing-actix-web = "0.7.11"
|
||||||
build-info = { version = "1.7.0", path = "../build-info" }
|
build-info = { version = "1.7.0", path = "../build-info" }
|
||||||
roaring = "0.10.2"
|
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"] }
|
utoipa-scalar = { version = "0.2.0-alpha.0", features = ["actix-web"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
@ -34,8 +34,6 @@ pub mod tasks;
|
|||||||
#[derive(OpenApi)]
|
#[derive(OpenApi)]
|
||||||
#[openapi(
|
#[openapi(
|
||||||
nest((path = "/tasks", api = tasks::TaskApi) ),
|
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;
|
pub struct MeilisearchApi;
|
||||||
|
|
||||||
|
@ -254,7 +254,7 @@ async fn cancel_tasks(
|
|||||||
Ok(HttpResponse::Ok().json(task))
|
Ok(HttpResponse::Ok().json(task))
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Delete tasks.
|
/// Delete tasks
|
||||||
///
|
///
|
||||||
/// Delete [tasks](https://docs.meilisearch.com/learn/advanced/asynchronous_operations.html) on filter
|
/// Delete [tasks](https://docs.meilisearch.com/learn/advanced/asynchronous_operations.html) on filter
|
||||||
#[utoipa::path(
|
#[utoipa::path(
|
||||||
|
Loading…
Reference in New Issue
Block a user