Ron
Ron
_From @lammel on December 1, 2014 11:23_ We are facing the same issue here. The annotation scanning results in a slowdown of our suite with 1000 tests considerable (running over...
@lammel - can you give a few more details about your application? Is it servlet, jax-rs, play? How is swagger-core configured?
_From @lammel on December 1, 2014 11:47_ It's a play 2.3 application currently with Scala 2.10 using "com.wordnik" %% "swagger-play2" % "1.3.10". Tests do initialize the application afresh for most...
If it's Play then perhaps @fehguy will be able to assist. I'm not that familiar with the Play integration.
_From @lammel on December 1, 2014 12:26_ Thanks, let's see if @fehguy has some time to spare for an answer. I just tried with swagger-play2 1.3.11. I'm still seeing a...
_From @fehguy on December 3, 2014 6:9_ Hi, the SwaggerPlugin.scala is calling `onStop()`, which is clearing the cache. My guess is that the slow down is due to garbage being...
_From @lammel on December 4, 2014 16:14_ Ok, so I would need to patch (comment out) that to verify. I see if I get around to doing that.
_From @fehguy on December 23, 2014 22:49_ We'll investigate and see if this can be done in the 1.5.0-M3 release.
_From @mikalveli on December 24, 2014 4:8_ I actually had this same problem today using the swagger-play2 plugin. In Play, you can disable plugins when using fakeApplication(). Here is the...
_From @lammel on December 25, 2014 22:49_ Ah, great, thanks! Should have looked more into FakeApplication instead of messing with the sbt plugin config. Using withoutPlugins for FakeApplikation works great...