Skip to content

Commit

Permalink
BXMSDOC-5825: changed the version of version for cxf-rt-rs-service-de…
Browse files Browse the repository at this point in the history
…scription-swagger dependency (#21)
  • Loading branch information
hmanwani-rh authored and Heena Manwani committed Jun 3, 2020
1 parent f2b101a commit 6f1f682
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ available in the service project of your {PRODUCT} business application.
. Unzip the `<business-application>.zip` file and navigate to the `<business-application>/<business-application>-service` folder.
. Open the service project `pom.xml` file in a text editor.
. Add the following dependencies to the service project `pom.xml` file and save the file.
+
+
[source, xml]
----
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-rs-service-description-swagger</artifactId>
<version>3.1.11</version>
<version>3.2.6</version>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
Expand All @@ -32,7 +32,7 @@ available in the service project of your {PRODUCT} business application.
</dependency>
----
. To enable the Swagger UI (optional), add the following dependency to the `pom.xml` file and save the file.
+
+
[source, xml]
----
<dependency>
Expand All @@ -51,6 +51,3 @@ kieserver.swagger.enabled=true
----

After you start the business application, you can view the Swagger document at `\http://localhost:8090/rest/swagger.json`. The complete set of endpoints is available at `\http://localhost:8090/rest/api-docs?url=http://localhost:8090/rest/swagger.json`.



0 comments on commit 6f1f682

Please sign in to comment.