Skip to content

Commit

Permalink
add content_type
Browse files Browse the repository at this point in the history
  • Loading branch information
tuna2134 committed Sep 27, 2024
1 parent 5c092e8 commit c2910ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbv2_api/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit c2910ad

Please sign in to comment.