This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch binding4 in repository https://gitbox.apache.org/repos/asf/camel.git
commit 034989638f84382b05250de7545046cab449347f Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Thu Apr 4 11:07:01 2024 +0200 CAMEL-20557: Rest DSL to use openapi spec directly --- .../component/rest/openapi/DefaultRestOpenapiProcessorStrategy.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/DefaultRestOpenapiProcessorStrategy.java b/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/DefaultRestOpenapiProcessorStrategy.java index d98723a1ae3..2648b8084f2 100644 --- a/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/DefaultRestOpenapiProcessorStrategy.java +++ b/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/DefaultRestOpenapiProcessorStrategy.java @@ -96,9 +96,9 @@ public class DefaultRestOpenapiProcessorStrategy extends ServiceSupport if ("fail".equalsIgnoreCase(missingOperation)) { throw new IllegalArgumentException(msg); } else if ("ignore".equalsIgnoreCase(missingOperation)) { - LOG.warn(msg + ". This validation error is ignored."); + LOG.warn(msg + "\nThis validation error is ignored."); } else if ("mock".equalsIgnoreCase(missingOperation)) { - LOG.debug(msg + ". This validation error is ignored (Will return a mocked/empty response)."); + LOG.debug(msg + "\nThis validation error is ignored (Will return a mocked/empty response)."); } }