Open ghost opened 9 years ago
one of the tests uses @responseType java.util.List
so I was actually trying to set @responseType to java.util.Map < java.lang.String, java.util.Collection < java.lang.String > >.
This resulted in an error that told me some thing to the effect of (as stated in the documentation of @responseType on this page https://github.com/teamcarma/swagger-jaxrs-doclet) - NOTE: if the response class is not in the same maven project as the one the doclet plugin is on then you will need to include the response class in the source of your project. One way to do this in maven is to use the maven-dependency-plugin's unpack goal to unpack the *.java files of the dependency source jar to a temporary directory such as ${project.build.directory}/additional-sources and then attach that directory to your project source using the build-helper-maven-plugin's add-source goal.
Currently I even can't use this:
* @responseType super.duper.device.LoggerSetting
And this ResponseType is in Sources
I'm Using 1.0.6
When trying to set the @responseType java.util.List or any of the java collection types, it requires sources. Any chance that sources not be required for the java collection types.