Hi, I have an API that needs two input files. I was thinking of using @ApiParam(value = "data1", required=true,allowMultiple =true) InputStream inputStream1 @ApiParam(value = "data2", required=true,allowMultiple =true) InputStream inputStream2
Inside the code, I read the contents of inputstream and convert that to a file . However, I am getting errors when the app is initialized and also, the contents of the first InputStream is not passed to the API. Only the contents in the second InputStream goes through.. [ERROR ] The following errors and warnings have been detected with resource and/or provider classes: SEVERE: Missing dependency for method public javax.ws.rs.core.Response com.xxx.test(java.io.InputStream,java.io.InputStream) throws org.json.JSONException at parameter at index 0 SEVERE: Missing dependency for method public javax.ws.rs.core.Response com.xxx.test(java.io.InputStream,java.io.InputStream) throws org.json.JSONException at parameter at index 1 SEVERE: Method, public javax.ws.rs.core.Response com.xxx.test(java.io.InputStream,java.io.InputStream) throws org.json.JSONException, annotated with POST of resource, class com.xxx.test, is not recognized as valid resource method. [ERROR ] SRVE0271E: Uncaught init() exception created by servlet [Jersey Web Application] in application [RestTEst]: com.sun.jersey.spi.inject.Errors$ErrorMessagesException at com.sun.jersey.spi.inject.Errors.processErrorMessages(Errors.java:170) Is this supported ? Thanks in Advance, Sundar. -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.