mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-16 03:10:50 +00:00
Fix utoipa response
This commit is contained in:
@ -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",
|
||||||
|
Reference in New Issue
Block a user