[ 
https://issues.apache.org/jira/browse/CAMEL-15938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17251133#comment-17251133
 ] 

Claus Ibsen commented on CAMEL-15938:
-------------------------------------

Yeah lets improve this at first, the operation can also be set via a header, so 
lets relax this and remove the required

> 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
>            Assignee: Claus Ibsen
>            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)

Reply via email to