We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61270c9 commit f71aa1aCopy full SHA for f71aa1a
internal/gen/genswagger/gen.go
@@ -87,7 +87,7 @@ func Gen() (err error) {
87
}
88
cmd := exec.Command("goctl", "api", "plugin", "-plugin", "jzero-swagger=swagger -filename "+apiFile+" --schemes http,https", "-api", cv, "-dir", config.C.Gen.Swagger.Output)
89
if config.C.Gen.Route2Code || config.C.Gen.Swagger.Route2Code {
90
- cmd = exec.Command("goctl", "api", "plugin", "-plugin", "jzero-swagger=swagger -filename "+apiFile+" --schemes http,https --route2code", "-api", cv, "-dir", config.C.Gen.Swagger.Output)
+ cmd = exec.Command("goctl", "api", "plugin", "-plugin", "jzero-swagger=swagger -filename "+apiFile+" --schemes http,https "+" --route2code ", "-api", cv, "-dir", config.C.Gen.Swagger.Output)
91
92
93
logx.Debug(cmd.String())
0 commit comments