cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject cxf git commit: update readme of swagger samples
Date Fri, 18 Sep 2015 13:26:36 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 67f8c947e -> 52f78ed75


update readme of swagger samples


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/52f78ed7
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/52f78ed7
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/52f78ed7

Branch: refs/heads/3.0.x-fixes
Commit: 52f78ed75751af0dec8a0f62dd4035b8ea88cd0e
Parents: 67f8c94
Author: Akitoshi Yoshida <ay@apache.org>
Authored: Wed Sep 16 22:41:47 2015 +0200
Committer: Akitoshi Yoshida <ay@apache.org>
Committed: Fri Sep 18 15:26:19 2015 +0200

----------------------------------------------------------------------
 .../samples/jax_rs/description_swagger2/README.txt       | 10 +++++++++-
 .../samples/jax_rs/description_swagger2_osgi/README.txt  |  2 +-
 .../src/test/features/features.xml                       |  2 +-
 .../samples/jax_rs/description_swagger2_web/README.txt   | 11 ++++++++++-
 4 files changed, 21 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/52f78ed7/distribution/src/main/release/samples/jax_rs/description_swagger2/README.txt
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/description_swagger2/README.txt
b/distribution/src/main/release/samples/jax_rs/description_swagger2/README.txt
index 5e3c9a3..0a37472 100644
--- a/distribution/src/main/release/samples/jax_rs/description_swagger2/README.txt
+++ b/distribution/src/main/release/samples/jax_rs/description_swagger2/README.txt
@@ -17,7 +17,15 @@ Using either UNIX or Windows:
   mvn -Pserver  (from one command line window)  
     
 
-To view the swagger document, use your Browser to open the page at
+After the service is started, the Swagger API documents in JSON and YAML
+are available at
+
+  http://localhost:9000/swagger.json
+  http://localhost:9000/swagger.yaml
+
+
+To view the Swagger document using Swagger-UI, use your Browser to 
+open the Swagger-UI page at
 
   http://localhost:9000/?url=/swagger.json
 

http://git-wip-us.apache.org/repos/asf/cxf/blob/52f78ed7/distribution/src/main/release/samples/jax_rs/description_swagger2_osgi/README.txt
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/description_swagger2_osgi/README.txt
b/distribution/src/main/release/samples/jax_rs/description_swagger2_osgi/README.txt
index 16c64fc..678ae30 100644
--- a/distribution/src/main/release/samples/jax_rs/description_swagger2_osgi/README.txt
+++ b/distribution/src/main/release/samples/jax_rs/description_swagger2_osgi/README.txt
@@ -75,7 +75,7 @@ You can verify if the CXF JAX-RS Swagger2 Blueprint Demo is installed and
starte
   115 | Active |  80 | 1.5.4.SNAPSHOT   | swagger-core                               
   116 | Active |  80 | 18.0.0           | Guava: Google Core Libraries for Java      
   117 | Active |  80 | 3.19.0.GA        | Javassist                                  
-  118 | Active |  80 | 0.9.9.2-SNAPSHOT | Apache ServiceMix :: Bundles :: reflections
+  118 | Active |  80 | 0.9.9.2          | Apache ServiceMix :: Bundles :: reflections
   119 | Active |  80 | 2.4.6            | Jackson-JAXRS-base                         
   120 | Active |  80 | 2.4.6            | Jackson-JAXRS-JSON                         
   121 | Active |  80 | 1.5.4.SNAPSHOT   | swagger-jaxrs                              

http://git-wip-us.apache.org/repos/asf/cxf/blob/52f78ed7/distribution/src/main/release/samples/jax_rs/description_swagger2_osgi/src/test/features/features.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/description_swagger2_osgi/src/test/features/features.xml
b/distribution/src/main/release/samples/jax_rs/description_swagger2_osgi/src/test/features/features.xml
index 8bc60cd..de8f22e 100644
--- a/distribution/src/main/release/samples/jax_rs/description_swagger2_osgi/src/test/features/features.xml
+++ b/distribution/src/main/release/samples/jax_rs/description_swagger2_osgi/src/test/features/features.xml
@@ -25,7 +25,7 @@
 
         <bundle dependency="true">mvn:com.google.guava/guava/18.0</bundle>
         <bundle dependency="true">mvn:org.javassist/javassist/3.19.0-GA</bundle>
-        <bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.reflections/0.9.9_2-SNAPSHOT</bundle>
+        <bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.reflections/0.9.9_2</bundle>
 
         <!-- jackson -->
         <bundle dependency="true">mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-base/2.4.6</bundle>

http://git-wip-us.apache.org/repos/asf/cxf/blob/52f78ed7/distribution/src/main/release/samples/jax_rs/description_swagger2_web/README.txt
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/description_swagger2_web/README.txt
b/distribution/src/main/release/samples/jax_rs/description_swagger2_web/README.txt
index 3605e65..a6c520d 100644
--- a/distribution/src/main/release/samples/jax_rs/description_swagger2_web/README.txt
+++ b/distribution/src/main/release/samples/jax_rs/description_swagger2_web/README.txt
@@ -17,7 +17,16 @@ Using either UNIX or Windows:
   mvn install
   mvn package tomcat7:run
 
-To view the swagger document, use your Browser and open the page at
+
+After the service is started, the Swagger API documents in JSON and YAML
+are available at
+
+  http://localhost:9000/app/swaggerSample/swagger.json
+  http://localhost:9000/app/swaggerSample/swagger.yaml
+
+
+To view the Swagger document using Swagger-UI, use your Browser to 
+open the Swagger-UI page at
 
   http://localhost:9000/?url=/app/swaggerSample/swagger.json
 


Mime
View raw message