You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2016/07/26 00:41:30 UTC
[25/42] cxf git commit: Updating SpringBoot demos
Updating SpringBoot demos
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/9fb6e045
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/9fb6e045
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/9fb6e045
Branch: refs/heads/master-jaxrs-2.1
Commit: 9fb6e045939f9d0a5bcdb735d6f44158e38f0d68
Parents: f462c79
Author: Sergey Beryozkin <sb...@gmail.com>
Authored: Sun Jul 24 22:11:22 2016 +0300
Committer: Sergey Beryozkin <sb...@gmail.com>
Committed: Sun Jul 24 22:11:22 2016 +0300
----------------------------------------------------------------------
distribution/src/main/release/samples/jax_rs/spring_boot/README | 5 +++++
.../src/main/release/samples/jax_rs/spring_boot/pom.xml | 5 +++++
.../release/samples/jax_rs/spring_boot_scan/application/README | 4 ++++
.../release/samples/jax_rs/spring_boot_scan/application/pom.xml | 5 +++++
4 files changed, 19 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cxf/blob/9fb6e045/distribution/src/main/release/samples/jax_rs/spring_boot/README
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/spring_boot/README b/distribution/src/main/release/samples/jax_rs/spring_boot/README
index d309ad4..21c6e5b 100644
--- a/distribution/src/main/release/samples/jax_rs/spring_boot/README
+++ b/distribution/src/main/release/samples/jax_rs/spring_boot/README
@@ -20,6 +20,11 @@ will display "Hello2 ApacheCxfUser, Welcome to CXF RS Spring Boot World!!!"
http://localhost:8080/services/helloservice/swagger.json will return a Swagger JSON
description of services.
+To view the Swagger document using Swagger-UI, use your Browser to
+open the Swagger-UI page at
+
+ http://localhost:8080/services/helloservice/api-docs?url=/services/helloservice/swagger.json
+
To run the client from a command line open a new terminal window and run:
----
http://git-wip-us.apache.org/repos/asf/cxf/blob/9fb6e045/distribution/src/main/release/samples/jax_rs/spring_boot/pom.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/spring_boot/pom.xml b/distribution/src/main/release/samples/jax_rs/spring_boot/pom.xml
index 098a0e0..764f52f 100644
--- a/distribution/src/main/release/samples/jax_rs/spring_boot/pom.xml
+++ b/distribution/src/main/release/samples/jax_rs/spring_boot/pom.xml
@@ -22,6 +22,11 @@
<version>${cxf.version}</version>
</dependency>
<dependency>
+ <groupId>org.webjars</groupId>
+ <artifactId>swagger-ui</artifactId>
+ <version>2.1.0</version>
+ </dependency>
+ <dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-rs-service-description-swagger</artifactId>
<version>${cxf.version}</version>
http://git-wip-us.apache.org/repos/asf/cxf/blob/9fb6e045/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/README
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/README b/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/README
index dbfa6a2..a054dc8 100644
--- a/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/README
+++ b/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/README
@@ -33,6 +33,10 @@ will display "Hello2 ApacheCxfUser, Welcome to CXF RS Spring Boot World!!!"
http://localhost:8080/services/helloservice/swagger.json will return a Swagger JSON
description of services.
+To view the Swagger document using Swagger-UI, use your Browser to
+open the Swagger-UI page at
+
+ http://localhost:8080/services/helloservice/api-docs?url=/services/helloservice/swagger.json
Check client/README on how to run a command line client.
http://git-wip-us.apache.org/repos/asf/cxf/blob/9fb6e045/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/pom.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/pom.xml b/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/pom.xml
index 856becc..1ca080c 100644
--- a/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/pom.xml
+++ b/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/pom.xml
@@ -25,6 +25,11 @@
<version>${cxf.version}</version>
</dependency>
<dependency>
+ <groupId>org.webjars</groupId>
+ <artifactId>swagger-ui</artifactId>
+ <version>2.1.0</version>
+ </dependency>
+ <dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-rs-service-description-swagger</artifactId>
<version>${cxf.version}</version>