mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
Fix utoipa response
This commit is contained in:
parent
074d509d92
commit
9dac91efe0
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ pub fn configure(cfg: &mut web::ServiceConfig) {
|
||||||
tag = "Export",
|
tag = "Export",
|
||||||
security(("Bearer" = ["export", "*"])),
|
security(("Bearer" = ["export", "*"])),
|
||||||
responses(
|
responses(
|
||||||
(status = OK, description = "Known nodes are returned", body = Export, content_type = "application/json", example = json!(
|
(status = 202, description = "Export successfully enqueued", body = SummarizedTaskView, content_type = "application/json", example = json!(
|
||||||
{
|
{
|
||||||
"taskUid": 1,
|
"taskUid": 1,
|
||||||
"status": "enqueued",
|
"status": "enqueued",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue