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
{{ message }}
Repository navigation
[BUG][Java][Native] invalid generated code when binary/file responses are mapped to InputStream #24057
When generating a Java native client with supportStreaming=true and mapping binary / file types to java.io.InputStream, the generated response handling code contains invalid Java source code.
The generated API method signature correctly uses InputStream as the return type, but the internal implementation still follows the default path—downloading the payload into a temporary file and attempting to return a java.io.File.
This results in the following compilation error:
incompatible types: java.io.File cannot be converted to java.io.InputStream
Activity
Synchronize Java native InputStream samples