davsclaus commented on code in PR #18233:
URL: https://github.com/apache/camel/pull/18233#discussion_r2117461014


##########
components/camel-openapi-validator/src/main/java/org/apache/camel/component/rest/openapi/validator/client/OpenApiRestClientRequestValidator.java:
##########
@@ -54,6 +56,28 @@ public ValidationError validate(Exchange exchange, 
ValidationContext validationC
         if (body != null) {
             builder.withBody(body);
         }
+        // Use all non-Camel headers
+        for (Entry<String, Object> header : 
exchange.getMessage().getHeaders().entrySet()) {

Review Comment:
   This should be done case insensitive, ie Camel CAMEL CaMeL and so forth 
should all be skipped



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to