generator-go-sdk
: should return http repsonse in listOperationTemplate
#4128
Labels
area/pagination
Related to Listing/Pagination
enhancement
New feature or request
tool/generator-go-sdk
Issues with the Go SDK Generator
The HTTP response should be stored in the
LatestHttpResponse
field, even if an error occurs. This means that the code lines below should be moved before the error check at L341. By doing this, the caller can check the HTTP status code instead of the error string.\pandora/tools/generator-go-sdk/internal/generator/templater_methods.go
Lines 353 to 356 in a225668
pandora/tools/generator-go-sdk/internal/generator/templater_methods.go
Lines 340 to 344 in a225668
The text was updated successfully, but these errors were encountered: