[BUG][Go] Erroneous type assertion handling in client.mustache
Created by: fuxs
Bug Report Checklist
-
Have you provided a full/minimal spec to reproduce the issue? -
Have you validated the input using an OpenAPI validator (example)? -
Have you tested with the latest master to confirm the issue still exists? -
Have you searched for related issues/PRs? -
What's the actual output vs expected output? -
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
func decode() in client.mustache does not handle type assertion correctly due to missing return command (row 418).
openapi-generator version
Master
Suggest a fix
Add a return to this line