You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2023/04/24 08:02:28 UTC
[camel-k-examples] branch main updated: fix: correct open-api syntax
This is an automated email from the ASF dual-hosted git repository.
pcongiusti 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 cd47ac8 fix: correct open-api syntax
cd47ac8 is described below
commit cd47ac87845c5d414a4599cacf628fd132c0952f
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Mon Apr 24 09:42:12 2023 +0200
fix: correct open-api syntax
---
generic-examples/openapi/README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/generic-examples/openapi/README.md b/generic-examples/openapi/README.md
index c8ca3c0..1b846a2 100644
--- a/generic-examples/openapi/README.md
+++ b/generic-examples/openapi/README.md
@@ -7,7 +7,7 @@ Find useful examples about how to expose an Open API specification in a Camel K
Deploy the examples running
```
-kamel run --dev --name greetings --open-api greetings-api.json greetings.groovy
+kamel run --dev --name greetings --open-api file:greetings-api.json greetings.groovy
```
Then you can test by calling the hello endpoint, ie:
@@ -21,4 +21,4 @@ User-Agent: curl/7.68.0
transfer-encoding: chunked
Hello from hello
-```
\ No newline at end of file
+```