Description
When using openapi-generator-maven-plugin to generate go-server codes, there are two errors in the generated codes:
(openapi-generator-version is 5.0.0)
"mime/multipart" is forget to import in router.go
-
`github.com/gorilla/mux` should not be imported in `api_default.go` file.
How to produce:
I can stable reproduce it using the following file:
- get codes from: https://github.com/apache/iotdb/tree/openapi/openapi
- run
mvn generate-codes
- the generated source is under
target/generated-sources/go
see the codes and error tips by GoLand.