From c2910ad9e8d90be5ea31f2cfeb14efb347382cb5 Mon Sep 17 00:00:00 2001 From: tuna2134 Date: Fri, 27 Sep 2024 12:43:41 +0000 Subject: [PATCH] add content_type --- sbv2_api/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbv2_api/src/main.rs b/sbv2_api/src/main.rs index b7e44e1..3b95281 100644 --- a/sbv2_api/src/main.rs +++ b/sbv2_api/src/main.rs @@ -55,7 +55,7 @@ struct SynthesizeRequest { path = "/synthesize", request_body = SynthesizeRequest, responses( - (status = 200, description = "Return audio/wav", body = Vec) + (status = 200, description = "Return audio/wav", body = Vec, content_type = "audio/wav") ) )] async fn synthesize(