haskell-servant / servant-swagger

Swagger for Servant
http://hackage.haskell.org/package/servant-swagger
BSD 3-Clause "New" or "Revised" License
124 stars 37 forks source link

multipart/form-data specification generation #106

Open AleXoundOS opened 5 years ago

AleXoundOS commented 5 years ago

Maybe I couldn't find the right way to do this (I'm a new user of servant-swagger). But it seems that there is no automatic generation available (no instance) for MultipartForm from https://github.com/haskell-servant/servant-multipart. I think there is demand in such a feature. Although, servant-multipart is a separate package and maybe it's not servant-swagger's responsibility.

There is a similar answered question on stackoverflow that looks like one of a possible solution.

akhesaCaro commented 2 years ago

Hi, Servant-swagger will be moved into the main Servant repo (see : https://github.com/haskell-servant/servant/pull/1475) If this issue is still relevant, would it be possible for you to summit it there? : https://github.com/haskell-servant/servant/issues

Thanks in advance!