Hi team, we are using JSON to provide custom connector definitions. In the "apiProperties.json" file, under the "connection Parameters" construct, we are trying to achieve multiple sets of possible key-value pairs. We want the user to have the ability to select one of the sets and provide the value of all the fields in that set to establish a connection. How can this be achieved in the current OpenAPI 2.0 spec?
This is possible in OpenAPI 3.0 spec using "anyOf" construct, but we cannot find any way to provide such functionality through our connector JSON that is using OpenAPI 2.0 specification.
Kindly help us in achieving the same.