-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Content type not seted #965
Labels
bug
Something isn't working
Comments
@Cheban1996 I assume this is due to it requiring some body before the type will actually render. This though probably needs some tuning in order to support just setting the |
Duplicate for #779 |
This was referenced Sep 26, 2024
juhaku
added a commit
that referenced
this issue
Oct 2, 2024
Fix allow response with `content_type` without schema. ```rust #[utoipa::path(post, path = "/api/secret", responses( (status = OK, content_type = "application/octet-stream") ))] async fn post_secret() {} ``` Fixes #965
juhaku
added a commit
that referenced
this issue
Oct 2, 2024
Fix allow response with `content_type` without schema. ```rust #[utoipa::path(post, path = "/api/secret", responses( (status = OK, content_type = "application/octet-stream") ))] async fn post_secret() {} ``` Fixes #965
juhaku
added a commit
that referenced
this issue
Oct 2, 2024
Fix allow response with `content_type` without schema. ```rust #[utoipa::path(post, path = "/api/secret", responses( (status = OK, content_type = "application/octet-stream") ))] async fn post_secret() {} ``` Fixes #965
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have the next response
(status = 200, description = "Successfully download", content_type = "application/octet-stream"),
but content_type not exist
But i expected
The text was updated successfully, but these errors were encountered: