Repository: cxf Updated Branches: refs/heads/3.0.x-fixes 8844a54c2 -> 6ccf746cd
[CXF-6530] put the service under some path Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/a51296f1 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/a51296f1 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/a51296f1 Branch: refs/heads/3.0.x-fixes Commit: a51296f1b8565d8e4b0c1b1cb103ee43ded47e15 Parents: 8844a54 Author: Akitoshi Yoshida <[email protected]> Authored: Thu Aug 13 16:15:20 2015 +0200 Committer: Akitoshi Yoshida <[email protected]> Committed: Thu Aug 13 16:16:59 2015 +0200 ---------------------------------------------------------------------- .../description_swagger2_web/src/main/webapp/WEB-INF/context.xml | 4 ++-- .../jax_rs/description_swagger2_web/src/main/webapp/index.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/a51296f1/distribution/src/main/release/samples/jax_rs/description_swagger2_web/src/main/webapp/WEB-INF/context.xml ---------------------------------------------------------------------- diff --git a/distribution/src/main/release/samples/jax_rs/description_swagger2_web/src/main/webapp/WEB-INF/context.xml b/distribution/src/main/release/samples/jax_rs/description_swagger2_web/src/main/webapp/WEB-INF/context.xml index 7adc4ad..545cc5b 100644 --- a/distribution/src/main/release/samples/jax_rs/description_swagger2_web/src/main/webapp/WEB-INF/context.xml +++ b/distribution/src/main/release/samples/jax_rs/description_swagger2_web/src/main/webapp/WEB-INF/context.xml @@ -36,7 +36,7 @@ <!-- CXF Swagger2Feature --> <bean id="swagger2Feature" class="org.apache.cxf.jaxrs.swagger.Swagger2Feature"> - <property name="basePath" value="/app"/> + <property name="basePath" value="/app/swaggerSample"/> </bean> <cxf:bus> @@ -45,7 +45,7 @@ </cxf:features> </cxf:bus> - <jaxrs:server id="sampleServer" address="/"> + <jaxrs:server id="sampleServer" address="/swaggerSample"> <jaxrs:serviceBeans> <ref bean="sampleResource" /> </jaxrs:serviceBeans> http://git-wip-us.apache.org/repos/asf/cxf/blob/a51296f1/distribution/src/main/release/samples/jax_rs/description_swagger2_web/src/main/webapp/index.html ---------------------------------------------------------------------- diff --git a/distribution/src/main/release/samples/jax_rs/description_swagger2_web/src/main/webapp/index.html b/distribution/src/main/release/samples/jax_rs/description_swagger2_web/src/main/webapp/index.html index 19d5cf2..b32bb69 100644 --- a/distribution/src/main/release/samples/jax_rs/description_swagger2_web/src/main/webapp/index.html +++ b/distribution/src/main/release/samples/jax_rs/description_swagger2_web/src/main/webapp/index.html @@ -21,7 +21,7 @@ <script type="text/javascript"> $(function () { - var url = "/app/swagger.json"; + var url = "/app/swaggerSample/swagger.json"; window.swaggerUi = new SwaggerUi({ url: url, dom_id: "swagger-ui-container",
