add content_type

This commit is contained in:
tuna2134
2024-09-27 12:43:41 +00:00
parent 5c092e8cbb
commit c2910ad9e8

View File

@@ -55,7 +55,7 @@ struct SynthesizeRequest {
path = "/synthesize",
request_body = SynthesizeRequest,
responses(
(status = 200, description = "Return audio/wav", body = Vec<u8>)
(status = 200, description = "Return audio/wav", body = Vec<u8>, content_type = "audio/wav")
)
)]
async fn synthesize(