Skip to content

Commit

Permalink
fix: issue 1327 during code generation
Browse files Browse the repository at this point in the history
  • Loading branch information
yawnak committed Oct 12, 2024
1 parent 62691ab commit 4f5c7fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gen/_template/response_encode.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func encode{{ $op.Name }}Response(response {{ $op.Responses.GoType }}, w http.Re
return errors.Wrap(err, "flush streaming")
}
{{- else }}
e := new(jx.Encoder)
e := new(jx.Encoder);
{{- template "json/enc" elem $type $var }}
if _, err := e.WriteTo(w); err != nil {
return errors.Wrap(err, "write")
Expand Down

0 comments on commit 4f5c7fb

Please sign in to comment.