forked from loafle/openapi-generator-original
Fix missing newline for file array in go-server/controller-api.mustache (#16787)
This commit is contained in:
@@ -362,7 +362,8 @@ func (c *{{classname}}Controller) {{nickname}}(w http.ResponseWriter, r *http.Re
|
||||
{{/isQueryParam}}
|
||||
{{#isFormParam}}
|
||||
{{#isFile}}{{#isArray}}
|
||||
{{paramName}}Param, err := ReadFormFilesToTempFiles(r, "{{baseName}}"){{/isArray}}{{^isArray}}
|
||||
{{paramName}}Param, err := ReadFormFilesToTempFiles(r, "{{baseName}}")
|
||||
{{/isArray}}{{^isArray}}
|
||||
{{paramName}}Param, err := ReadFormFileToTempFile(r, "{{baseName}}")
|
||||
{{/isArray}}
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user