You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Tomohisa Igarashi (Jira)" <ji...@apache.org> on 2023/08/07 12:04:00 UTC
[jira] [Assigned] (CAMEL-19699) camel-yaml-dsl: schema: Express languages/dataformats are mutually exclusive
[ https://issues.apache.org/jira/browse/CAMEL-19699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomohisa Igarashi reassigned CAMEL-19699:
-----------------------------------------
Assignee: Tomohisa Igarashi (was: Luca Burgazzoli)
> camel-yaml-dsl: schema: Express languages/dataformats are mutually exclusive
> -----------------------------------------------------------------------------
>
> Key: CAMEL-19699
> URL: https://issues.apache.org/jira/browse/CAMEL-19699
> Project: Camel
> Issue Type: Task
> Components: camel-yaml-dsl
> Reporter: Tomohisa Igarashi
> Assignee: Tomohisa Igarashi
> Priority: Major
>
> For example with dataformats, this is syntactically allowed
> {code:yaml}
> - from:
> uri: "timer:test"
> parameters:
> period: 3000
> steps:
> - set-body:
> simple: "Hello World"
> - marshal:
> json:
> library: Jackson
> jaxb:
> contextPath: org.apache.camel.model
> - to:
> uri: "log:test"
> {code}
> Can we prohibit this through YAML DSL schema, possibly with `oneOf`?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)