Missing multipart (form data) imports.

Swagger files that declare "in: formData" parameters will result in API class that cannot be compiled due to the usage of "@Multipart" annotations in method signatures.
This commit is contained in:
Kosta Krauth 2016-03-19 14:12:24 -04:00
parent 6ecf083b0f
commit a07eb3bb14

View File

@ -6,6 +6,8 @@ package {{package}};
import javax.ws.rs.*; import javax.ws.rs.*;
import javax.ws.rs.core.Response; import javax.ws.rs.core.Response;
import org.apache.cxf.jaxrs.ext.multipart.*;
@Path("/") @Path("/")
public interface {{classname}} { public interface {{classname}} {
{{#operations}} {{#operations}}