You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Aurélien Pupier (Jira)" <ji...@apache.org> on 2020/12/11 15:58:00 UTC
[jira] [Created] (CAMEL-15938) Catalog contains wrong "required"
for aws2-iam "operation"
Aurélien Pupier created CAMEL-15938:
---------------------------------------
Summary: 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
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)