[ https://issues.apache.org/jira/browse/CAMEL-16741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17366616#comment-17366616 ]
Claus Ibsen commented on CAMEL-16741: ------------------------------------- You are using camel-k, so its often best to report at https://github.com/apache/camel-k However if we can reproduce this with camel-yaml-dsl, such as from an unit test in https://github.com/apache/camel/tree/main/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml As its likely something in yaml-dsl anyway from here. > Yaml schema validation error for rest endpoints > ----------------------------------------------- > > Key: CAMEL-16741 > URL: https://issues.apache.org/jira/browse/CAMEL-16741 > Project: Camel > Issue Type: Bug > Components: came-core > Reporter: Ruben Romero Montes > Priority: Major > > The YAML validator schema shows an error for theĀ _verb_ attribute for an > apparently valid rest route: > Incorrect type. Expected "string" > {code:java} > # camel-k: language=yaml > - rest: > binding-mode: json > verb: > - method: put > uri: "/songs/{songId}" > consumes: application/json > produces: application/json > param: > - name: songId > type: path > dataType: string > required: true > - name: body > type: bod > required: true > steps: > - to: > uri: "log:foo"{code} -- This message was sent by Atlassian Jira (v8.3.4#803005)