You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Ruben Romero Montes (Jira)" <ji...@apache.org> on 2021/06/21 13:40:00 UTC
[jira] [Created] (CAMEL-16741) Yaml schema validation error for
rest endpoints
Ruben Romero Montes created CAMEL-16741:
-------------------------------------------
Summary: 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
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:
path:
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)