This is an automated email from the ASF dual-hosted git repository. igarashitm pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new e20b717f94e CAMEL-18607: camel-yaml-dsl - Should continue evaluating the rest of the properties (#8528) e20b717f94e is described below commit e20b717f94e362f6b37d432aec0e92c4fbc7645c Author: Tomohisa Igarashi <tm.igara...@gmail.com> AuthorDate: Wed Oct 12 09:31:13 2022 -0400 CAMEL-18607: camel-yaml-dsl - Should continue evaluating the rest of the properties (#8528) --- .../java/org/apache/camel/maven/dsl/yaml/GenerateYamlSchemaMojo.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dsl/camel-yaml-dsl/camel-yaml-dsl-maven-plugin/src/main/java/org/apache/camel/maven/dsl/yaml/GenerateYamlSchemaMojo.java b/dsl/camel-yaml-dsl/camel-yaml-dsl-maven-plugin/src/main/java/org/apache/camel/maven/dsl/yaml/GenerateYamlSchemaMojo.java index 9ce20a6be9e..19a337ed8b5 100644 --- a/dsl/camel-yaml-dsl/camel-yaml-dsl-maven-plugin/src/main/java/org/apache/camel/maven/dsl/yaml/GenerateYamlSchemaMojo.java +++ b/dsl/camel-yaml-dsl/camel-yaml-dsl-maven-plugin/src/main/java/org/apache/camel/maven/dsl/yaml/GenerateYamlSchemaMojo.java @@ -298,11 +298,10 @@ public class GenerateYamlSchemaMojo extends GenerateYamlSupportMojo { return; } - if (propertyType.startsWith("object:")) { final DotName dn = DotName.createSimple(propertyType.substring(7)); if (isBanned(view.getClassByName(dn))) { - return; + continue; } }