I am trying to generate a swagger document that will enable Flow to work with our REST/ODATA service. The service is protected by basic authentication. I have been using the "http + swagger" trigger type and Flow appears to accept the swagger document. I am able to configure an query and I was able to map fields for an example action. I don't see how I am suppose to specify the credentials for the basic authentication. I am allowed to save the Flow, but any attempt to run the flow will fail because the service just returns 401 (not authorized) as expected since no credentials have been specified. Under the "Show advanced options" I do get an Authentication text box with the phrase: Enter JSON object of authentication parameters. I assume this may be where I need to enter the credentials, but it is not clear how I would enter them.
The swagger document has the following security definition:
"securityDefinitions": {
"basicAuth": {
"type": "basic",
"description": "HTTP Basic Authentication."
}
},
"security": [
{
"basicAuth": []
}
],