[
https://issues.apache.org/jira/browse/CAMEL-15938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17248324#comment-17248324
]
Claus Ibsen commented on CAMEL-15938:
-------------------------------------
Yeah there are some components that allow to configure an option on either
component or endpoint that would be required. Its also mentioned in the
description when this is the case.
>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?
> Catalog contains wrong "required" for aws2-iam "operation"
> ----------------------------------------------------------
>
> Key: CAMEL-15938
> URL: https://issues.apache.org/jira/browse/CAMEL-15938
> Project: Camel
> Issue Type: Bug
> Components: camel-aws2
> Affects Versions: 3.6.0
> Reporter: Aurélien Pupier
> Priority: Minor
> Fix For: 3.8.0
>
>
> https://camel.apache.org/components/latest/aws2-iam-component.html#_uri_options
> https://camel.apache.org/components/latest/aws2-iam-component.html#_query_parameters_12_parameters
> The "operation" parameter is marked as required at both level: component and
> query. it is required to have it at one of them. Not both.
> potential solutions:
> - remove operation at one of the side (API break?)
> - remove the "required" mark in catalog. Only mention in documentation that
> one of them is required. (this sounds a good candidate for a first iteration)
> - support "oneOf" for required properties in the catalog
--
This message was sent by Atlassian Jira
(v8.3.4#803005)