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
npx openapi-generator-cli generate -i openapi.yaml -g go-server -o server
Non-info output:
[main] WARN o.o.codegen.DefaultCodegen - Could not compute datatypeWithEnum from *os.File, null
[main] WARN o.o.c.languages.AbstractGoCodegen - 4.3.0 has deprecated the use of vendor extensions which don't follow lower-kebab casing standards with x- prefix.
Steps to reproduce
Generate a go-server with the command provided above or a Docker-container.
aliakseiz
changed the title
[BUG][GO] Invalid code for files array in multipart/form-data request
[BUG][Go] Invalid code for files array in multipart/form-data request
Dec 5, 2020
Bug Report Checklist
Description
Files array in
multipart/form-data
requestBody produces following code:Where
file
is of type*os.File
, butservice.AddCard
expects[]*os.File
.openapi-generator version
Reproducible with 3.4.1 and 5.0.0-beta3.
OpenAPI declaration file content or url
Generation Details
Generated with
Non-info output:
Steps to reproduce
Generate a go-server with the command provided above or a Docker-container.
Related issues/PRs
Suggest a fix
PR (#8103)
The text was updated successfully, but these errors were encountered: