manstis opened a new issue, #1330:
URL: https://github.com/apache/camel-kamelets/issues/1330

   By way of a real example, let me explain the issue:
   
   The Camel Slack Component has deprecated some [Query 
Parameters](https://camel.apache.org/components/3.20.x/slack-component.html#_path_parameters_1_parameters),
 namely `iconEmoji`, `iconUrl` and `username`.
   
   Ideally the corresponding [Slack Sink 
Kamelet](https://camel.apache.org/camel-kamelets/3.20.x/slack-sink.html) needs 
the parameters to be marked as deprecated too so Users are aware that they may 
be removed in a future release.
   
   However the underlying 
[`Kamelet.KameletSpec.JSONSCHEMAPROPS.JSONSCHEMAPROP`](https://camel.apache.org/camel-k/1.12.x/apis/kamelets.html#_camel_apache_org_v1alpha1_JSONSchemaProp)
 does not support indicating that a parameter is deprecated.
   
   What can we do?
   
   Add a property to 
https://camel.apache.org/camel-k/1.12.x/apis/kamelets.html#_camel_apache_org_v1alpha1_JSONSchemaProp
   
   Propose use of an `x-descriptor` to indicate the parameter is deprecated? 
What would it be? 
   
   Where would we also need to presumably change Kamelet documentation 
generation to use the new property or x-descriptor?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to