"paths" : {
"/" : {
"get" : {
"tags" : [ "download" ],
"operationId" : "getFile",
"responses" : {
"200" : {
"description" : "OK",
"content" : {
"text/plain" : {
"schema" : {
"type" : "string"
}
}
}
}
}
}
}
Description
Trying to return a file but the result kept being parsed as a json response.
Discovered I needed to use <asyncNative>false</asyncNative> in order for vendorExtensions.x-java-text-plain-string
to work
openapi-generator version
7.0.0-beta
Steps to reproduce
Run with "nativeAsync" option
Related issues/PRs
Result of #14132
Suggest a fix
Replicate non-async code section in async secion