title: Set base path in Camel Swagger Java Rest DSL
body: <p>I am using <a href="http://camel.apache.org/swagger-java.html" rel="nofollow noreferrer">camel-swagger-java</a> to expose rest APIs.</p>
  
  <p>There is a way to set the base path when configuring a servlet in web.xml:</p>
  
  <pre><code>  &lt;init-param&gt;
      &lt;!-- we specify the base.path using relative notation, that means the actual path will be calculated at runtime as
           http://server:port/contextpath/rest --&gt;
      &lt;param-name&gt;base.path&lt;/param-name&gt;
      &lt;param-value&gt;rest&lt;/param-value&gt;
    &lt;/init-param&gt;
  </code></pre>
  
  <p>Is there a way to set the base path when using Rest DSL?</p>