This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karaf-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new 5ce7068  Fix example
5ce7068 is described below

commit 5ce7068e1f247bf2609d1a7e1f854330220dd911
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Mon Jun 14 11:43:14 2021 +0200

    Fix example
---
 examples/camel-example-swagger-osgi/README.adoc | 25 ++++++++++++++++++++-----
 1 file changed, 20 insertions(+), 5 deletions(-)

diff --git a/examples/camel-example-swagger-osgi/README.adoc 
b/examples/camel-example-swagger-osgi/README.adoc
index 2049d09..e40d468 100644
--- a/examples/camel-example-swagger-osgi/README.adoc
+++ b/examples/camel-example-swagger-osgi/README.adoc
@@ -21,14 +21,29 @@ mvn install
 
 This example needs to be deployed on Apache Karaf/SerivceMix first:
 
-feature:repo-add camel ${version} feature:install camel feature:install
-camel-jackson feature:install camel-jetty feature:install
-camel-swagger-java
+[source,shell]
+----
+feature:repo-add camel ${version}
+feature:install camel
+feature:install camel-jackson
+feature:install camel-jetty
+feature:install camel-swagger-java
+----
+
+And then install support for dumping the API spec as JSon or YAML
+
+[source,shell]
+----
+install -s mvn:org.apache.camel/camel-dsl-support/${version}
+install -s mvn:org.apache.camel/camel-xml-jaxb-dsl/${version}
+----
 
 And then install the example
 
-install -s
-mvn:org.apache.camel.example/camel-example-swagger-osgi/${version}
+[source,shell]
+----
+install -s mvn:org.apache.camel.example/camel-example-swagger-osgi/${version}
+----
 
 The rest service can be accessed from the following url
 

Reply via email to