cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Updating SpringBoot demos
Date Sun, 24 Jul 2016 19:12:58 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 2728bb512 -> 5250c5c85


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/5250c5c8
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/5250c5c8
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/5250c5c8

Branch: refs/heads/3.1.x-fixes
Commit: 5250c5c85b8100236eb27734973ac0b496d59457
Parents: 2728bb5
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Sun Jul 24 22:11:22 2016 +0300
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Sun Jul 24 22:12:44 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/5250c5c8/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/5250c5c8/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 f7b19dc..9a21d31 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/5250c5c8/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/5250c5c8/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 ee8026b..1c3d4a3 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
@@ -24,6 +24,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>


Mime
View raw message