title: Clear swagger Cache for Jersey project
body: <p>I have created Java <code>RESTFUL</code> web serivces using <code>Jersey</code>, I am using <code>swagger</code> for API documentation. however  swagger annotation changes during development for my RESTFUL services are not visible, I have tried clearing browser cache and used other browsers as well, but new changes does not reflect on Swagger API documentation. Swagger core dependencies are located in shared libraries directory.</p>
  
  <p><strong>Wokaround</strong>
  In order for the changes to take effect I have to delete the following folders in Glass-fish.</p>
  
  <ol>
  <li>generated</li>
  <li>osgi-cache</li>
  </ol>
  
  <p>and then redeploy the application (this require complete shutdown of the Glass fish server, otherwise system does not allow me to delete above folders.)</p>
  
  <p><strong>My Questions:</strong>
  1 - Is there any way we can permanently disabled the caching?</p>
  
  <p>2 - Is there any method to clear swagger cache on demand without restarting or deleting the folders?</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;com.wordnik&lt;/groupId&gt;
      &lt;artifactId&gt;swagger-jaxrs_2.10&lt;/artifactId&gt;
      &lt;version&gt;1.3.10&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>