Author: buildbot
Date: Wed Dec 16 07:20:05 2015
New Revision: 975665

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/swagger-java.html

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/swagger-java.html
==============================================================================
--- websites/production/camel/content/swagger-java.html (original)
+++ websites/production/camel/content/swagger-java.html Wed Dec 16 07:20:05 2015
@@ -161,7 +161,7 @@
                 .to("bean:userService?method=listUsers");
     }
 }]]></script>
-</div></div><p>&#160;</p><h3 id="SwaggerJava-Options">Options</h3><p>The 
swagger module can be configured using the following options. To configure 
using a servlet you use the init-param as shown above. When configuring 
directly in the rest-dsl, you use the&#160;<code>apiProperty</code> 
dsl.</p><div class="confluenceTableSmall"><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Option</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd">cors</td><td colspan="1" rowspan="1" 
class="confluenceTd">Boolean</td><td colspan="1" rowspan="1" 
class="confluenceTd">Whether to enable CORS. Notice this only enables CORS for 
the api browser, and not the actual access to the REST services. Is default 
false.<br clear="none">Instead of using this option is recommended to use the 
CorsFilt
 e, see further below.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">swagger.version</td><td colspan="1" rowspan="1" 
class="confluenceTd">String</td><td colspan="1" rowspan="1" 
class="confluenceTd">Swagger spec version. Is default 2.0.</td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">host</td><td colspan="1" 
rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" 
class="confluenceTd">To setup the hostname. If not configured 
camel-swagger-java will calculate the name as localhost based.</td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">schemas</td><td colspan="1" 
rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" 
class="confluenceTd">The protocol schemas to use. Multiple values can be 
separated by comma such as "http,https". The default value is 
"http".</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">base.path<p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd">String</td><td cols
 pan="1" rowspan="1" class="confluenceTd"><p><strong>Required</strong>: To 
setup the base path where the REST services is available. The path is relative 
(eg do not start with http/https) and camel-swagger-java will calculate the 
absolute base path at runtime, which will be</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>&#160;</p><h3 id="SwaggerJava-Options">Options</h3><p>The 
swagger module can be configured using the following options. To configure 
using a servlet you use the init-param as shown above. When configuring 
directly in the rest-dsl, you use the appropriate method, such as 
<code>enableCORS</code>,&#160;<code>host,<code>contextPath</code>,</code>&#160;dsl.
 The options with&#160;<code>api.xxx</code> is configured 
using&#160;<code>apiProperty</code> dsl.</p><div 
class="confluenceTableSmall"><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Option</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd">cors</td><td colspan="1" rowspan="1" 
class="confluenceTd">Boolean</td><td colspan="1" rowspan="1" 
class="confluenceTd">Whether to enable CORS. Notice this only enab
 les CORS for the api browser, and not the actual access to the REST services. 
Is default false.<br clear="none">Instead of using this option is recommended 
to use the CorsFilte, see further below.</td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd">swagger.version</td><td colspan="1" 
rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" 
class="confluenceTd">Swagger spec version. Is default 2.0.</td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">host</td><td colspan="1" 
rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" 
class="confluenceTd">To setup the hostname. If not configured 
camel-swagger-java will calculate the name as localhost based.</td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">schemas</td><td colspan="1" 
rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" 
class="confluenceTd">The protocol schemas to use. Multiple values can be 
separated by comma such as "http,https". The default
  value is "http".</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">base.path<p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd">String</td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Required</strong>: To setup the base path where 
the REST services is available. The path is relative (eg do not start with 
http/https) and camel-swagger-java will calculate the absolute base path at 
runtime, which will be</p><div class="code panel pdl" style="border-width: 
1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[protocol://host:port/context-path/base.path]]></script>
 </div></div></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">api.path</td><td colspan="1" rowspan="1" 
class="confluenceTd">String</td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><span>To setup the path where the API is available (eg 
/api-docs). The path is relative <span>(eg do not start with http/https) and 
camel-swagger-java will calculate the absolute base path at runtime, which will 
be </span></span></p><div class="code panel pdl" style="border-width: 
1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[protocol://host:port/context-path/api.path]]></script>


Reply via email to