Skip to content

Commit bdc36f0

Browse files
author
Peter Saffrey
committed
put back in cropped curly bracket
1 parent 35a8739 commit bdc36f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/swagger-codegen/src/main/resources/go/api.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func (a *{{{classname}}}Service) {{{nickname}}}(ctx context.Context{{#hasParams}
149149
{{#formParams}}
150150
{{#isFile}}
151151
var localVarFile {{dataType}}
152-
{^required}}
152+
{{^required}}
153153
if localVarOptionals != nil && localVarOptionals.{{vendorExtensions.x-exportParamName}}.IsSet() {
154154
localVarFileOk := false
155155
localVarFile, localVarFileOk = localVarOptionals.{{vendorExtensions.x-exportParamName}}.Value().({{dataType}})

0 commit comments

Comments
 (0)