camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r918936 - in /websites/production/camel/content: cache/main.pageCache swagger.html
Date Sun, 10 Aug 2014 11:17:51 GMT
Author: buildbot
Date: Sun Aug 10 11:17:51 2014
New Revision: 918936

Log:
Production update by buildbot for camel

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

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

Modified: websites/production/camel/content/swagger.html
==============================================================================
--- websites/production/camel/content/swagger.html (original)
+++ websites/production/camel/content/swagger.html Sun Aug 10 11:17:51 2014
@@ -94,7 +94,7 @@
     <!-- use the same version as your Camel core version -->
 </dependency>
 ]]></script>
-</div></div><h3 id="Swagger-Using">Using</h3><p>To use this
you need to configure the&#160;<code>org.apache.camel.component.swagger.RestSwaggerApiDeclarationServlet</code>&#160;in
the&#160;<code>WEB-INF/web.xml</code>&#160;file as shown below:</p><div
class="error"><span class="error">Error formatting macro: snippet: java.lang.IndexOutOfBoundsException:
Index: 20, Size: 20</span> </div><h3 id="Swagger-Options">Options</h3><p>The&#160;<code>org.apache.camel.component.swagger.RestSwaggerApiDeclarationServlet&#160;</code>supports
the following options which can be configured as context-param in the web.xml file.</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">swagger.version
 </td><td colspan="1" rowspan="1" class="confluenceTd">String</td><td
colspan="1" rowspan="1" class="confluenceTd">Swagger spec version. Is default 1.2.</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"><strong>Required</strong>: To setup the base path where
the API is available</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">api.version</td><td
colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1"
class="confluenceTd">The version of the api. Is default 0.0.0.</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">Path
of the api</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">api.title</td><td
colspan="1" rowspan="1" class="confluenceTd">String</td><td c
 olspan="1" rowspan="1" class="confluenceTd"><strong>Required.</strong><span>&#160;The
title of the application.</span></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd">api.description</td><td colspan="1" rowspan="1" class="confluenceTd">String</td><td
colspan="1" rowspan="1" class="confluenceTd"><strong>Required.</strong><span>&#160;A
short description of the application.</span></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd">api.<span>termsOfServiceUrl</span></td><td
colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1"
class="confluenceTd"><span>A URL to the Terms of Service of the API.</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">api.contact</td><td colspan="1" rowspan="1"
class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd"><span>An
email to be used for API-related correspondence.</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">api.license</td><td col
 span="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1"
class="confluenceTd"><span>The license name used for the API.</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">api.licenseUrl</td><td colspan="1"
rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd"><span>A
URL to the license used for the API.</span></td></tr></tbody></table></div></div><h3
id="Swagger-Examples">Examples</h3><p>TODO: rest example</p></div>
+</div></div><h3 id="Swagger-Using">Using</h3><p>To use this
you need to configure the&#160;<code>org.apache.camel.component.swagger.RestSwaggerApiDeclarationServlet</code>&#160;in
the&#160;<code>WEB-INF/web.xml</code>&#160;file as shown below:</p><div
class="error"><span class="error">Error formatting macro: snippet: java.lang.IndexOutOfBoundsException:
Index: 20, Size: 20</span> </div><h3 id="Swagger-Options">Options</h3><p>The&#160;<code>org.apache.camel.component.swagger.RestSwaggerApiDeclarationServlet&#160;</code>supports
the following options which can be configured as context-param in the web.xml file.</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 co
 lspan="1" rowspan="1" class="confluenceTd">Boolean</td><td colspan="1" rowspan="1"
class="confluenceTd">Whether to enable CORS. Is default false.</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 1.2.</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"><strong>Required</strong>:
To setup the base path where the REST services is available</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">api.version</td><td colspan="1" rowspan="1"
class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">The
version of the api. Is default 0.0.0.</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"><span>To
setup the path where the API is available (eg /api-docs)</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">api.title</td><td colspan="1" rowspan="1"
class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Required.</strong><span>&#160;The
title of the application.</span></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd">api.description</td><td colspan="1" rowspan="1" class="confluenceTd">String</td><td
colspan="1" rowspan="1" class="confluenceTd"><strong>Required.</strong><span>&#160;A
short description of the application.</span></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd">api.<span>termsOfServiceUrl</span></td><td
colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1"
class="confluenceTd"><span>A URL to the Terms of Service of the API.</span></td></tr><tr><td
colspan="1" rowspan="1" class=
 "confluenceTd">api.contact</td><td colspan="1" rowspan="1" class="confluenceTd">String</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>An email to be used for API-related
correspondence.</span></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd">api.license</td><td colspan="1" rowspan="1" class="confluenceTd">String</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>The license name used for the
API.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">api.licenseUrl</td><td
colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1"
class="confluenceTd"><span>A URL to the license used for the API.</span></td></tr></tbody></table></div></div><h3
id="Swagger-Examples">Examples</h3><p>TODO: rest example</p></div>
         </td>
         <td valign="top">
           <div class="navigation">



Mime
View raw message