title: How can I dynamic hide swagger api?
body: <p>I want hide swagger API in dependence of my deployment environment.
  You can hide API by Annotation:</p>
  
  <pre><code>@Api(
          hidden = false)
  public class MyRESTClass { ... }
  </code></pre>
  
  <p>It work fine, but is not dynamic. Is there another way to hide or not dynamic the swagger API?</p>
  
  <p>see: <a href="http://docs.swagger.io/swagger-core/v1.3.12/apidocs/index.html?com/wordnik/swagger/annotations/ApiModel.html" rel="nofollow">ApiMode Swagger</a></p>