Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A45DE200B4E for ; Sun, 24 Jul 2016 21:11:40 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A30B5160A74; Sun, 24 Jul 2016 19:11:40 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EB09C160A71 for ; Sun, 24 Jul 2016 21:11:39 +0200 (CEST) Received: (qmail 48105 invoked by uid 500); 24 Jul 2016 19:11:39 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 48096 invoked by uid 99); 24 Jul 2016 19:11:39 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jul 2016 19:11:39 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id ECB7BE0A3F; Sun, 24 Jul 2016 19:11:38 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sergeyb@apache.org To: commits@cxf.apache.org Message-Id: <803f64049a0148289086535a834e7791@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: cxf git commit: Updating SpringBoot demos Date: Sun, 24 Jul 2016 19:11:38 +0000 (UTC) archived-at: Sun, 24 Jul 2016 19:11:40 -0000 Repository: cxf Updated Branches: refs/heads/master f462c797e -> 9fb6e0459 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 Commit: 9fb6e045939f9d0a5bcdb735d6f44158e38f0d68 Parents: f462c79 Author: Sergey Beryozkin Authored: Sun Jul 24 22:11:22 2016 +0300 Committer: Sergey Beryozkin 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 @@ ${cxf.version} + org.webjars + swagger-ui + 2.1.0 + + org.apache.cxf cxf-rt-rs-service-description-swagger ${cxf.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 @@ ${cxf.version} + org.webjars + swagger-ui + 2.1.0 + + org.apache.cxf cxf-rt-rs-service-description-swagger ${cxf.version}