forked from loafle/openapi-generator-original
Add mime/multipart missing import in go server (#8790)
This commit is contained in:
@@ -4,6 +4,7 @@ package {{packageName}}
|
||||
import (
|
||||
"encoding/json"
|
||||
"io/ioutil"
|
||||
"mime/multipart"
|
||||
"net/http"
|
||||
"os"
|
||||
"strconv"
|
||||
@@ -133,4 +134,4 @@ func parseInt32Parameter(param string) (int32, error) {
|
||||
return -1, err
|
||||
}
|
||||
return int32(val), nil
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,6 +12,7 @@ package petstoreserver
|
||||
import (
|
||||
"encoding/json"
|
||||
"io/ioutil"
|
||||
"mime/multipart"
|
||||
"net/http"
|
||||
"os"
|
||||
"strconv"
|
||||
@@ -135,4 +136,4 @@ func parseInt32Parameter(param string) (int32, error) {
|
||||
return -1, err
|
||||
}
|
||||
return int32(val), nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user