diff --git a/script/goctl/GenApi.ps1 b/script/goctl/GenApi.ps1 index f395cd3..e59e461 100644 --- a/script/goctl/GenApi.ps1 +++ b/script/goctl/GenApi.ps1 @@ -17,7 +17,7 @@ Set-Location -Path (Resolve-Path "../../api") goctl api format -dir . # generate go-zero code -goctl api go -api ServerStatistics.api -dir ../src --style=gozero +goctl api go -api ServerStatistics.api -dir ../app --style=gozero # generate swagger and convert to openapi3 only when -s is provided if ($s) {