Author: buildbot
Date: Fri Nov 11 15:47:37 2016
New Revision: 1000964

Log:
Production update by buildbot for cxf

Modified:
    websites/production/cxf/content/cache/docs.pageCache
    websites/production/cxf/content/docs/swagger2feature.html

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

Modified: websites/production/cxf/content/docs/swagger2feature.html
==============================================================================
--- websites/production/cxf/content/docs/swagger2feature.html (original)
+++ websites/production/cxf/content/docs/swagger2feature.html Fri Nov 11 
15:47:37 2016
@@ -118,11 +118,11 @@ Apache CXF -- Swagger2Feature
            <!-- Content -->
            <div class="wiki-content">
 <div id="ConfluenceContent"><h1 
id="Swagger2Feature-Swagger2Feature">Swagger2Feature</h1><p><style 
type="text/css">/*<![CDATA[*/
-div.rbtoc1473436020880 {padding: 0px;}
-div.rbtoc1473436020880 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1473436020880 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1478879222735 {padding: 0px;}
+div.rbtoc1478879222735 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1478879222735 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1473436020880">
+/*]]>*/</style></p><div class="toc-macro rbtoc1478879222735">
 <ul class="toc-indentation"><li><a shape="rect" 
href="#Swagger2Feature-Swagger2Feature">Swagger2Feature</a></li><li><a 
shape="rect" href="#Swagger2Feature-Setup">Setup</a></li><li><a shape="rect" 
href="#Swagger2Feature-Properties">Properties</a></li><li><a shape="rect" 
href="#Swagger2Feature-ConfiguringProgramatically">Configuring 
Programatically</a></li><li><a shape="rect" 
href="#Swagger2Feature-ConfiguringinSpring">Configuring in 
Spring</a></li><li><a shape="rect" 
href="#Swagger2Feature-ConfiguringinBlueprint">Configuring in 
Blueprint</a></li><li><a shape="rect" 
href="#Swagger2Feature-ConfiguringinCXFNonSpringJaxrsServlet">Configuring in 
CXFNonSpringJaxrsServlet</a></li><li><a shape="rect" 
href="#Swagger2Feature-EnablinginSpringBoot">Enabling in Spring 
Boot</a></li><li><a shape="rect" 
href="#Swagger2Feature-AccessingSwaggerDocuments">Accessing Swagger 
Documents</a></li><li><a shape="rect" 
href="#Swagger2Feature-EnablingSwaggerUI">Enabling Swagger UI</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#Swagger2Feature-AutomaticUIActivation">Automatic UI 
Activation</a></li><li><a shape="rect" 
href="#Swagger2Feature-UnpackingSwaggerUIresources">Unpacking Swagger UI 
resources</a></li></ul>
 </li><li><a shape="rect" href="#Swagger2Feature-Samples">Samples</a></li></ul>
@@ -260,7 +260,7 @@ import org.apache.cxf.jaxrs.swagger.Swag
 &lt;/dependency&gt;
 
 </pre>
-</div></div><h2 id="Swagger2Feature-AutomaticUIActivation">Automatic UI 
Activation</h2><p>This feature is available starting from CXF 3.1.7: Adding a 
Swagger UI Maven dependency is all what is needed to start accessing Swagger 
documents with the help of Swagger UI.</p><p>For example, lets assume a JAX-RS 
endpoint is published at 
'<span>http://host:port/context/services/</span>'.</p><p>Open the browser and 
go to 
'<span>http://host:port/context/services/</span>api-docs?/url=/swagger.json' 
which will return a Swagger UI page.</p><p>CXF Services page will also link to 
Swagger UI. Go 
to&#160;'<span>http://host:port/context/services/</span>services' and follow a 
Swagger link which will return a Swagger UI page.</p><p>See <a shape="rect" 
class="external-link" 
href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/description_swagger2";
 rel="nofollow">samples/jax_rs/description_swagger2</a>,&#160;<a shape="rect" 
class="external-link" href="https://github
 
.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/spring_boot"
 rel="nofollow">samples/jax_rs/spring_boot</a> and <a shape="rect" 
class="external-link" 
href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/spring_boot_scan";
 rel="nofollow">samples/jax_rs/spring_boot_scan</a>&#160;</p><p>Note that CXF 
OSGI endpoints can only depend on this feature starting from CXF 3.1.8.</p><h2 
id="Swagger2Feature-UnpackingSwaggerUIresources">Unpacking Swagger UI 
resources</h2><p>Up until CXF 3.1.7 unpacking Swagger UI resources into the 
local folder has been the only option. It is demoed in all CXF Swagger demos 
but samples/jax_rs/description_swagger2 which</p><p>shows the automatic UI 
activation. In CXF 3.1.7: set Swagger2Feature 'supportSwaggerUi' property to 
'false' to disable to automatic UI activation described in the previous 
section</p><h1 id="Swagger2Feature-Samples">Samples</h1><p><span>CXF's 
distribution contains the following sa
 mples.</span></p><ul><li><a shape="rect" class="external-link" 
href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/description_swagger";
 rel="nofollow">samples/jax_rs/description_swagger</a>: Swagger 1.2 sample 
using SwaggerFeature programatically</li><li><a shape="rect" 
class="external-link" 
href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/description_swagger2";
 rel="nofollow">samples/jax_rs/description_swagger2</a>:&#160;Swagger 2.0 
standalone sample using Swagger2Feature programatically</li><li><a shape="rect" 
class="external-link" 
href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/description_swagger2_spring";
 rel="nofollow">samples/jax_rs/description_swagger2_spring</a>:&#160;Swagger 
2.0 standalone sample using Swagger2Feature using Spring</li><li><a 
shape="rect" class="external-link" 
href="https://github.com/apache/cxf/tree/master/distribution/src/main/re
 lease/samples/jax_rs/description_swagger2_web" 
rel="nofollow">samples/jax_rs/description_swagger2_web</a>:&#160;Swagger 2.0 
web application sample using Swagger2Feature using Spring</li><li><a 
shape="rect" class="external-link" 
href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/description_swagger2_osgi";
 rel="nofollow">samples/jax_rs/description_swagger2_osgi</a>:&#160;Swagger 2.0 
OSGi application sample using Swagger2Feature using Blueprint<br 
clear="none"><br clear="none"></li></ul><p>&#160;</p></div>
+</div></div><h2 id="Swagger2Feature-AutomaticUIActivation">Automatic UI 
Activation</h2><p>This feature is available starting from CXF 3.1.7: Adding a 
Swagger UI Maven dependency is all what is needed to start accessing Swagger 
documents with the help of Swagger UI.</p><p>For example, lets assume a JAX-RS 
endpoint is published at 
'<span>http://host:port/context/services/</span>'.</p><p>Open the browser and 
go to 
'<span>http://host:port/context/services/</span>api-docs?/url=/swagger.json' 
which will return a Swagger UI page.</p><p>CXF Services page will also link to 
Swagger UI. Go 
to&#160;'<span>http://host:port/context/services/</span>services' and follow a 
Swagger link which will return a Swagger UI page.</p><p>See <a shape="rect" 
class="external-link" 
href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/description_swagger2";
 rel="nofollow">samples/jax_rs/description_swagger2</a>,&#160;<a shape="rect" 
class="external-link" href="https://github
 
.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/description_swagger2_web"
 rel="nofollow">samples/jax_rs/description_swagger2_web</a>, <a shape="rect" 
class="external-link" 
href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/spring_boot";
 rel="nofollow">samples/jax_rs/spring_boot</a> and <a shape="rect" 
class="external-link" 
href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/spring_boot_scan";
 rel="nofollow">samples/jax_rs/spring_boot_scan</a>&#160;</p><p>Note that CXF 
OSGI endpoints can only depend on this feature starting from CXF 3.1.8.</p><h2 
id="Swagger2Feature-UnpackingSwaggerUIresources">Unpacking Swagger UI 
resources</h2><p>Up until CXF 3.1.7 unpacking Swagger UI resources into the 
local folder was the only option. It is demoed in <a shape="rect" 
class="external-link" 
href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/description_
 swagger2_spring" rel="nofollow">samples/jax_rs/description_swagger2_spring</a> 
and <a shape="rect" class="external-link" 
href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/description_swagger2_osgi";
 rel="nofollow">samples/jax_rs/description_swagger2_osgi</a>.</p><p>In CXF 
3.1.8: set Swagger2Feature 'supportSwaggerUi' property to 'false' to disable 
the automatic UI activation described in the previous section</p><h1 
id="Swagger2Feature-Samples">Samples</h1><p><span>CXF's distribution contains 
the following samples.</span></p><ul><li><a shape="rect" class="external-link" 
href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/description_swagger";
 rel="nofollow">samples/jax_rs/description_swagger</a>: Swagger 1.2 sample 
using SwaggerFeature programatically</li><li><a shape="rect" 
class="external-link" 
href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/description_swa
 gger2" rel="nofollow">samples/jax_rs/description_swagger2</a>:&#160;Swagger 
2.0 standalone sample using Swagger2Feature programatically</li><li><a 
shape="rect" class="external-link" 
href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/description_swagger2_spring";
 rel="nofollow">samples/jax_rs/description_swagger2_spring</a>:&#160;Swagger 
2.0 standalone sample using Swagger2Feature using Spring</li><li><a 
shape="rect" class="external-link" 
href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/description_swagger2_web";
 rel="nofollow">samples/jax_rs/description_swagger2_web</a>:&#160;Swagger 2.0 
web application sample using Swagger2Feature using Spring</li><li><a 
shape="rect" class="external-link" 
href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/description_swagger2_osgi";
 rel="nofollow">samples/jax_rs/description_swagger2_osgi</a>:&#160;Swagger 2.0 
OSGi application
  sample using Swagger2Feature using Blueprint<br clear="none"><br 
clear="none"></li></ul><p>&#160;</p></div>
            </div>
            <!-- Content -->
          </td>


Reply via email to