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.
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
MultipartFormfrom https://github.com/haskell-servant/servant-multipart. I think there is demand in such a feature. Although,servant-multipartis a separate package and maybe it's notservant-swagger's responsibility.There is a similar answered question on stackoverflow that looks like one of a possible solution.