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.git
The following commit(s) were added to refs/heads/main by this push:
new 57fac50818ee CAMEL-24004: Re-enable schema validation in RestTest now
that fix is merged
57fac50818ee is described below
commit 57fac50818ee59716a9aa49b1b5e66a475d33ad7
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat Jul 11 19:34:38 2026 +0200
CAMEL-24004: Re-enable schema validation in RestTest now that fix is merged
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Signed-off-by: Claus Ibsen <[email protected]>
---
.../src/test/groovy/org/apache/camel/dsl/yaml/RestTest.groovy | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/RestTest.groovy
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/RestTest.groovy
index 340777e1c559..4f54638230b2 100644
---
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/RestTest.groovy
+++
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/RestTest.groovy
@@ -189,8 +189,7 @@ class RestTest extends YamlTestSupport {
def rloc = 'classpath:/rest-dsl/generated-rest-dsl.yaml'
def rdsl =
PluginHelper.getResourceLoader(context).resolveResource(rloc)
when:
- // skip schema validation: generated REST DSL may omit 'type' on
params (CAMEL-24004)
- loadRoutes([rdsl], false)
+ loadRoutes(rdsl)
then:
context.restDefinitions != null
!context.restDefinitions.isEmpty()