bartoszpop opened a new issue, #1138:
URL: https://github.com/apache/camel-karavan/issues/1138

   We created a kamelet for the OAuth2 authentication which accepts a list of 
user-provided key-value pairs and we tried to use type=object with 
additionalProperties defined in 
[react-jsonschema-form](https://rjsf-team.github.io/react-jsonschema-form) in 
the kamelet's spec, but it does not render properly. Is there any other way to 
have a dynamic field with key-value pairs? Same question for the array.
   
       spec:
         definition:
           title: "Kamelet"
           description: This is a kamelet.
           type: object
           properties:
             title: Form
             type: object
             properties:
               someProperty:
                 title: Key-Value Pairs
                 type: object
                 additionalProperties:
                   type: string
                   
   
![image](https://github.com/apache/camel-karavan/assets/10945404/fa65a151-2416-4332-9763-ce635f736b41)
   
   We use kamelets extensively and it is a common scenario that properties are 
not static.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to