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

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


The following commit(s) were added to refs/heads/main by this push:
     new f9d759f  Fix commandline invocation in example 02
f9d759f is described below

commit f9d759fa8f8596fcc6e631af81013f05d83e3de8
Author: Denis Brækhus <[email protected]>
AuthorDate: Mon Apr 17 09:57:51 2023 +0200

    Fix commandline invocation in example 02
    
    The command line invocation of `kamel run` was erroring out due to
    missing `file:` prefix and the wrong file suffix `.yml` instead of
    `.yaml`.
---
 02-serverless-api/readme.didact.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/02-serverless-api/readme.didact.md 
b/02-serverless-api/readme.didact.md
index 0cc9a73..5f88f00 100644
--- a/02-serverless-api/readme.didact.md
+++ b/02-serverless-api/readme.didact.md
@@ -168,7 +168,7 @@ To run the integration, you need to link it to the proper 
configuration, that de
 As alternative, to connect the integration to the **test Minio server** 
deployed before using the 
[test/MinioCustomizer.java](didact://?commandId=vscode.open&projectFilePath=02-serverless-api/test/MinioCustomizer.java
 "Opens the customizer file"){.didact} class:
 
 ```
-kamel run API.java --open-api openapi.yml --source test/MinioCustomizer.java 
--property file:test/minio.properties
+kamel run API.java --open-api file:openapi.yaml --source 
test/MinioCustomizer.java --property file:test/minio.properties
 ```
 ([^ 
execute](didact://?commandId=vscode.didact.sendNamedTerminalAString&text=camelTerm$$kamel%20run%20API.java%20--source%20test%2FMinioCustomizer.java%20--property%20file%3Atest%2Fminio.properties&completion=Integration%20run.
 "Opens a new terminal and sends the command above"){.didact})
 
@@ -177,7 +177,7 @@ kamel run API.java --open-api openapi.yml --source 
test/MinioCustomizer.java --p
 To connect the integration to the **AWS S3 service**:
 
 ```
-kamel run API.java --open-api openapi.yml --property file:s3.properties
+kamel run API.java --open-api file:openapi.yaml --property file:s3.properties
 ```
 ([^ 
execute](didact://?commandId=vscode.didact.sendNamedTerminalAString&text=camelTerm$$kamel%20run%20API.java%20--property%20file%3As3.properties&completion=Integration%20run.
 "Opens a new terminal and sends the command above"){.didact})
 

Reply via email to