feat: Add request.ts (#2901)
* Add request.ts * Update comments * Refactor request filename
This commit is contained in:
@@ -39,7 +39,7 @@ func genHandler(dir, webAPI, caller string, api *spec.ApiSpec, unwrapAPI bool) e
|
||||
importCaller = "{ " + importCaller + " }"
|
||||
}
|
||||
if len(webAPI) > 0 {
|
||||
imports += `import ` + importCaller + ` from ` + "\"" + webAPI + "\""
|
||||
imports += `import ` + importCaller + ` from ` + `"./gocliRequest"`
|
||||
}
|
||||
|
||||
if len(api.Types) != 0 {
|
||||
|
||||
Reference in New Issue
Block a user