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

Format is missing in response #213

Open
andreperegrina opened this issue Apr 1, 2022 · 1 comment
Open

Format is missing in response #213

andreperegrina opened this issue Apr 1, 2022 · 1 comment

Comments

@andreperegrina
Copy link

Is your feature request related to a problem? Please describe.
I'm trying to add a file format to @return but there's no way to do it.

Describe the solution you'd like
I like to added format like is describe in the swagger doc
"application/vnd.ms-excel": { "schema": { "type": "string" "format": "binary" } }

https://swagger.io/docs/specification/describing-responses/#response-that-returns-a-file

@joelabrahamsson
Copy link
Contributor

I would also like this feature and would be happy to create a PR for it. However, I'm not sure how the format should be represented in the JSDoc comments. Any guidance from the repo owners?

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