express-jsdoc-swagger icon indicating copy to clipboard operation
express-jsdoc-swagger copied to clipboard

Format is missing in response

Open andorep opened this issue 3 years ago • 1 comments

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

andorep avatar Apr 01 '22 19:04 andorep

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?

joelabrahamsson avatar Jun 01 '22 12:06 joelabrahamsson