[
https://issues.apache.org/jira/browse/CAMEL-15943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17248853#comment-17248853
]
Aurélien Pupier commented on CAMEL-15943:
-----------------------------------------
{quote}From tooling point of view, we can consider adding a boolean flag that
indicates when this is the case - but what should the name be?{quote}
using just a boolean won't allow to know with which other properties it is
linked to.I do not think that it will provide more information than setting the
attribute required to false and just mentioning in documentation that "one of"
attributes must be set.
With yaml spec, it is expressed by a "required -> "oneOf" attribute at a higher
level listing the required properties
https://json-schema.org/understanding-json-schema/reference/combining.html#oneof
> Support "oneOf" requirements of attributes inside the Catalog
> -------------------------------------------------------------
>
> Key: CAMEL-15943
> URL: https://issues.apache.org/jira/browse/CAMEL-15943
> Project: Camel
> Issue Type: Improvement
> Components: camel-catalog
> Affects Versions: 3.7.0
> Reporter: Aurélien Pupier
> Priority: Minor
>
> There are some components that allow to configure an option on either
> component or endpoint that would be required.
> For instance the "operation" parameter for aws2-iam
--
This message was sent by Atlassian Jira
(v8.3.4#803005)