For example, the following code sample shows how to define a
drop-down list for the connectionType
connection property.
The drop-down list has two choices, baseURI
and
Open API(1.0/2.0/3.0) URL
. The properties for the
drop-down list appear in bold.
For more information about the properties, see Properties in the connectionProperties Section.
"connectionProperties": [
{
"name": "connectionType",
"type": "CHOICE",
"displayName": "Connection Type",
"shortDescription": "Connection Type",
"required": true,
"hidden": false,
"scope": ["ACTION"],
"options": [
{
"keyName": "baseURI",
"displayName": "REST API Base URI"
},
{
"keyName": "openapi",
"displayName": "Open API(1.0/2.0/3.0) URL"
}
]
}
]