swaggo / swag

Automatically generate RESTful API documentation with Swagger 2.0 for Go.
MIT License
10.7k stars 1.2k forks source link

Add support application/octet-stream Mime Type #126

Closed mancioshell closed 6 years ago

mancioshell commented 6 years ago

Swag should be provide support to application/octet-stream Mime Types. For example for an API provide download binary data.

pei0804 commented 6 years ago

for you https://github.com/swaggo/swag/pull/127