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-jbang-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new 068f1ef  Polished
068f1ef is described below

commit 068f1efd344680263455e139346d03d2808b174f
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Jan 10 11:33:01 2025 +0100

    Polished
---
 openapi/client/petstore-client.camel.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openapi/client/petstore-client.camel.yaml 
b/openapi/client/petstore-client.camel.yaml
index 3a4e378..658dd4e 100644
--- a/openapi/client/petstore-client.camel.yaml
+++ b/openapi/client/petstore-client.camel.yaml
@@ -10,7 +10,7 @@
         - setHeader:
             name: "petId"
             expression:
-              simple: "${replace('.json','',${header[CamelFileNameConsumed]})}"
+              simple: "${file:onlyname.noext}"
         - setHeader:
             name: "Content-Type"
             expression:

Reply via email to