You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What's the actual output vs expected output?
Code tries to parse string as a json object
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
One question, what is the java.util.Scanner s = new java.util.Scanner(localVarResponse.body()).useDelimiter("\\A"); all about?
From what I can tell it just matches the whole string, Why not just use localVarResponse.body()?
Fails against 7.0.0-beta
Code tries to parse string as a json object
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 forvendorExtensions.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
The text was updated successfully, but these errors were encountered: