This is an automated email from the ASF dual-hosted git repository.
ffang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
The following commit(s) were added to refs/heads/master by this push:
new e6fbbee [CAMEL-14453]ensure Camel Rest Swagger example work again
e6fbbee is described below
commit e6fbbeeb48ae47a62f316b92a9a6b7bdb23155e6
Author: Freeman Fang <[email protected]>
AuthorDate: Tue Jan 28 16:39:48 2020 -0500
[CAMEL-14453]ensure Camel Rest Swagger example work again
---
.../camel-example-spring-boot-rest-swagger-simple/README.adoc | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/examples/camel-example-spring-boot-rest-swagger-simple/README.adoc
b/examples/camel-example-spring-boot-rest-swagger-simple/README.adoc
index a942e16..5ad3e92 100644
--- a/examples/camel-example-spring-boot-rest-swagger-simple/README.adoc
+++ b/examples/camel-example-spring-boot-rest-swagger-simple/README.adoc
@@ -14,20 +14,20 @@ Or by packaging it and running it using `+java+` CLI:
....
$ mvn package
-$ java -jar target/camel-example-rest-swagger-*.jar
+$ java -jar target/camel-example-spring-boot-rest-swagger-simple-*.jar
....
The example by default uses the PetStore demo hosted on swagger.io and
invokes the `+getInventory+` operation. You can make it call any API
that you have Swagger specification for and any operation with simple
arguments, for instance this retrives a pet from the PetStore demo with
-ID `+9584+`:
+ID `+14+`:
....
-$ java -jar target/camel-example-rest-swagger-*.jar \
- --swagger=http://petstore.swagger.io/v2/swagger.json \
+$ java -jar target/camel-example-spring-boot-rest-swagger-simple-*.jar \
+ --swagger=https://petstore.swagger.io/v2/swagger.json \
--operation=getPetById \
- --petId=9584
+ --petId=14
....
=== Help and contributions