Re: POST a multipartfile

2017-01-30 Thread diaz_carolyn97772 via Swagger
On Mon, 1/30/17, tony tam wrote: Subject: Re: POST a multipartfile To: swagger-swaggersocket@googlegroups.com Date: Monday, January 30, 2017, 7:16 PM This works fine with the core swagger-jaxrs project.  You might need to file an issue on

Re: POST a multipartfile

2017-01-30 Thread tony tam
This works fine with the core swagger-jaxrs project. You might need to file an issue on springfox (assuming you’re using that) to see what is wrong with your setup. > On Jan 30, 2017, at 3:48 AM, antxa wrote: > > Hi all, > I've implemented a REST API in Java and one of the POST request accept

POST a multipartfile

2017-01-30 Thread antxa
Hi all, I've implemented a REST API in Java and one of the POST request accepts a file sent in the body. Everything works OK if I call using this curl: curl -F "doc=@file.txt" localhost:8080/index The problem is that I want to use Swagger for the documentation, and I'm not able to get the sam