Skip to content
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

Support alternative Mime-types other than application/json #1137

Closed
medcelerate opened this issue Nov 20, 2020 · 1 comment
Closed

Support alternative Mime-types other than application/json #1137

medcelerate opened this issue Nov 20, 2020 · 1 comment

Comments

@medcelerate
Copy link

Is your feature request related to a problem? Please describe.
Currently all endpoints default to application/json without the ability to change the expected return type. The workaround we have currently is by including the Content-Type response header but it would be better to define a different produces call.

Describe the solution you'd like
We would like to be able to pass into a response object a field similar to {@content contentType: "application/octect-strean"}

Describe alternatives you've considered
We would also accept a way to do this with jsDoc but the first option would be better.

@lfportal
Copy link
Contributor

lfportal commented Dec 9, 2020

See #1150 for a similar issue

@lfportal lfportal closed this as completed Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants