For an OpenAPI resource with an endpoint like the following (irrelevant parts omitted):
{
"/x/{market}/y": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "array",
"items": { "$ref": "#/components/schemas/ProductsManualOverride" }
}
}
}
}
}
}
}
the interface in Retool shows the following:
There is no way to remove those request body parameters or somehow change them to an array.
When I fill out the form and send a preview request, the request body does in fact only show a single object instead of an array.
When viewed in Swagger, the array resource is correctly displayed.
Self-hosted Retool version 2.121.5 deployed with the retool-wf Helm chart.