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:22:11 GMT
Repository: cxf
Updated Branches:
  refs/heads/master e652e672f -> 9edf90a69


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

Branch: refs/heads/master
Commit: 9edf90a691627ac9ccbda2ec887f8bb4c7f9d1a2
Parents: e652e67
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:20:55 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/cxf/blob/9edf90a6/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/9edf90a6/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/9edf90a6/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 02252c8..a88932b 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
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <features xmlns="http://karaf.apache.org/xmlns/features/v1.0.0" name="demo-cxf-swagger-sample-1.0.0">
-    <repository>mvn:org.apache.cxf.karaf/apache-cxf/3.1.3-SNAPSHOT/xml/features</repository>
+    <repository>mvn:org.apache.cxf.karaf/apache-cxf/3.1.3/xml/features</repository>
 
     <!-- Note demo-swagger-core and demo-swagger-jaxrs features may be published by swagger
as
          features swagger-core and swagger-jaxrs, respectively -->
@@ -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>
@@ -42,6 +42,6 @@
         <feature version='[3.0,4)'>cxf-jaxrs</feature>
         <feature version='1.0.0'>demo-swagger-jaxrs</feature>
 
-        <bundle dependency="true">mvn:org.apache.cxf.samples/jax_rs_description_swagger2_osgi/3.1.3-SNAPSHOT</bundle>
+        <bundle dependency="true">mvn:org.apache.cxf.samples/jax_rs_description_swagger2_osgi/3.1.3</bundle>
     </feature>
 </features>

http://git-wip-us.apache.org/repos/asf/cxf/blob/9edf90a6/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