lparkes / swagger-codegen-generators

Apache License 2.0
0 stars 0 forks source link

[Go] broken API success handling #21

Closed lparkes closed 1 year ago

lparkes commented 1 year ago

I misread a "if err == nil" as the more common "if err != nil" and broke the error handling when decoding successful responses.

It turns out that the error handling of successful responses didn't exist, but that's no excuse for me destroying everything that did exist.

lparkes commented 1 year ago

fixed in main