lburgazzoli commented on pull request #5670:
URL: https://github.com/apache/camel/pull/5670#issuecomment-861586063
Not sure if the generated definition can be parsed by the YAML DSL as the
auto generated parser support something like:
```yaml
- rest:
verb:
- method: get
uri: "/foo"
type: ${MyFooBar.name}
out-type: ${MyBean.name}
to: "direct:bar"
```
So I don't think it is able to parse:
```
rest:
put:
consumes: "application/json,text/xml"
produces: "application/json,text/xml"
uri: "/pet"
param:
name: "body"
required: "true"
type: "body"
to: ...
```
Is the YAML parser wrong ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]