[
https://issues.apache.org/jira/browse/CAMEL-15938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17248857#comment-17248857
]
Aurélien Pupier commented on CAMEL-15938:
-----------------------------------------
The catalog and the documentation are mentioning that the 2 attributes are
required.
Only one of the 2 are required. This is a small bug but it remains a bug.
> Catalog contains wrong "required" for aws2-iam "operation"
> ----------------------------------------------------------
>
> Key: CAMEL-15938
> URL: https://issues.apache.org/jira/browse/CAMEL-15938
> Project: Camel
> Issue Type: Improvement
> 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 [CAMEL-15943]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)