forked from loafle/openapi-generator-original
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:
parent
6ecf083b0f
commit
a07eb3bb14
@ -6,6 +6,8 @@ package {{package}};
|
||||
import javax.ws.rs.*;
|
||||
import javax.ws.rs.core.Response;
|
||||
|
||||
import org.apache.cxf.jaxrs.ext.multipart.*;
|
||||
|
||||
@Path("/")
|
||||
public interface {{classname}} {
|
||||
{{#operations}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user