Generate route with prefix (#1200)
* Generate route with prefix * Update api convert * Remove TrimSpace * Update path join * Format code * Format code Co-authored-by: anqiansong <anqiansong@bytedance.com>
This commit is contained in:
@@ -27,6 +27,7 @@ func KtCommand(c *cli.Context) error {
|
||||
return e
|
||||
}
|
||||
|
||||
api.Service = api.Service.JoinPrefix()
|
||||
e = genBase(dir, pkg, api)
|
||||
if e != nil {
|
||||
return e
|
||||
|
||||
Reference in New Issue
Block a user