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
For Golang need to make HTTPResponse.Body readable again
Now after generating code, the generator read the Http Body one and closed it. After that user cannot read the Body again out the generated client. I suggest making the Body readable again.
openapi-generator version
4.2.3
Suggest a fix
Need to change in the templates localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body)
to
Bug Report Checklist
Description
For Golang need to make HTTPResponse.Body readable again
Now after generating code, the generator read the Http Body one and closed it. After that user cannot read the Body again out the generated client. I suggest making the Body readable again.
openapi-generator version
4.2.3
Suggest a fix
Need to change in the templates
localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body)
to
The text was updated successfully, but these errors were encountered: