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

Aurélien Pupier commented on CAMEL-15938:
-----------------------------------------

{quote}Yeah there are some components that allow to configure an option on 
either component or endpoint that would be required. 

>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}

redirecting discussion to the issue for a generic enhancement in [CAMEL-15943]

{quote}Its also mentioned in the description when this is the case.{quote}

this is not mentioned for aws2-iam

> 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)

Reply via email to