IBM / go-sdk-core

The go-sdk-core repository contains core functionality required by Go code generated by the IBM OpenAPI SDK Generator.
Apache License 2.0
30 stars 24 forks source link

feat: allow JSON response body to be streamed #44

Closed padamstx closed 4 years ago

padamstx commented 4 years ago

This PR will allow the generated Go code to support a scenario where the decoding of a JSON response body is bypassed with the response body being returned in the DetailedResponse.Result field as an io.ReadCloser instance. To do this, the generated code would pass in the result of new(io.ReadCloser) instead of new(Foo) for the deserialization target result object (where Foo represents a model object).

ibm-devx-automation commented 4 years ago

:tada: This PR is included in version 2.1.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: