The endpoint generated will have Stream as the return type instead of Stream<List> as expected.
Also there is no way to turn off streaming in the docs and this is a breaking change to code in a minor version.
"/fieldservice/v1/CallLogs/FieldReports/getfieldreportfieldimage/{FieldReportId}/{FieldId}/{ImageId}": {
"get": {
"tags": [
"FieldService"
],
"operationId": "GetFieldReportFieldImage",
"parameters": [
{
"name": "ImageId",
"in": "path",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
},
"x-position": 1
},
{
"name": "FieldReportId",
"in": "path",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
},
"x-position": 2
},
{
"name": "FieldId",
"in": "path",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
},
"x-position": 3
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/octet-stream": {
"schema": {
"type": "string",
"format": "binary"
}
}
}
},
"403": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
},
"404": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
},
"422": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HttpValidationProblemDetails"
}
}
}
},
"500": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
}
},
"security": [
{
"bearer": []
}
]
}
},
Steps to reproduce
The endpoint generated will have Stream as the return type instead of Stream<List> as expected.
Also there is no way to turn off streaming in the docs and this is a breaking change to code in a minor version.
Expected results
Stream<List> (and a way to turn off streaming if you want)
Actual results
Stream
Your OpenApi snippet
Code sample
N/A
Logs
N/A
Dart version and used packages versions
Dart version
Dart SDK version: 3.10.8 (stable) (Tue Jan 27 00:02:04 2026 -0800) on "macos_arm64"Packages version