Fix utoipa response

This commit is contained in:
Mubelotix 2025-07-01 14:40:39 +02:00
parent 074d509d92
commit 9dac91efe0
No known key found for this signature in database
GPG Key ID: 0406DF6C3A69B942

View File

@ -47,7 +47,7 @@ pub fn configure(cfg: &mut web::ServiceConfig) {
tag = "Export",
security(("Bearer" = ["export", "*"])),
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,
"status": "enqueued",