diff --git a/gen/_template/client.tmpl b/gen/_template/client.tmpl index 825b80385..40ac271a5 100644 --- a/gen/_template/client.tmpl +++ b/gen/_template/client.tmpl @@ -205,6 +205,7 @@ func (c *{{ if $op.WebhookInfo }}Webhook{{ end }}Client) {{ $op.Name }}(ctx cont {{- if $op.WebhookInfo }},targetURL{{ end -}} {{- if $op.Request }},request{{ end -}} {{- if $op.Params }},params{{ end -}} + {{- if $cfg.RequestOptionsEnabled }},options...{{ end -}} ) return {{ if $op.Responses.DoPass }}res,{{ end }} err }