The solution was that I had incorrectly specified my schema, but this wasn’t being picked up anywhere.
My schema was (snipped to the relevant part):
"parameters": [
{
"schema": {
"description": "Parameter description"
},
"required": false,
"name": "foo",
"in": "query"
},
],
When, instead, I should have included a type
in the parameter’s schema, like:
"schema": {
"type": "string",
"description": "Parameter description"
},
Including this caused it to connect correctly.