You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/11/09 05:42:04 UTC
[camel-k-examples] 01/02: Added missing 'openapi.yml' for kamel run
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
commit d46ec3ac00e352210f35a1ffadb3c31a8ad0093e
Author: Thomas Stuber <ts...@gmail.com>
AuthorDate: Fri Aug 6 11:35:29 2021 +0200
Added missing 'openapi.yml' for kamel run
---
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 246df38..0cc9a73 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 --source test/MinioCustomizer.java --property file:test/minio.properties
+kamel run API.java --open-api openapi.yml --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 --source test/MinioCustomizer.java --property file:test/minio
To connect the integration to the **AWS S3 service**:
```
-kamel run API.java --property file:s3.properties
+kamel run API.java --open-api openapi.yml --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})