You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to set the @responseType java.util.List<java.lang.String> or any of the java collection types, it requires sources. Any chance that sources not be required for the java collection types.
The text was updated successfully, but these errors were encountered:
one of the tests uses @responseType java.util.List but not java.util.List<java.lang.String> can you check if the former works for you, is there a stack trace or other error you are seeing and finally can you confirm what version you are using?
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.
ghost
changed the title
@responseType java.util.List<java.lang.String> should not need sources
java.util.Map < java.lang.String, java.util.Collection < java.lang.String > > should not need sources
Oct 13, 2015
ghost
changed the title
java.util.Map < java.lang.String, java.util.Collection < java.lang.String > > should not need sources
java.util.Map < java.lang.String, java.util.Collection < java.lang.String > > should not need sources when set as the @responseType
Oct 13, 2015
When trying to set the @responseType java.util.List<java.lang.String> or any of the java collection types, it requires sources. Any chance that sources not be required for the java collection types.
The text was updated successfully, but these errors were encountered: