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
Copy file name to clipboardExpand all lines: codegen/service/templates/service.go.tpl
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,9 @@
3
3
type Service interface {
4
4
{{- range .Methods }}
5
5
{{ comment .Description }}
6
+
{{- if .SkipResponseBodyEncodeDecode }}
7
+
{{ comment "\nIf body implements [io.WriterTo], that implementation will be used instead. Consider [goa.design/goa/v3/pkg.SkipResponseWriter] to adapt existing implementations."}}
8
+
{{- end }}
6
9
{{- if .ViewedResult }}
7
10
{{- ifnot .ViewedResult.ViewName }}
8
11
{{ comment "The \"view\" return value must have one of the following views"}}
0 commit comments