diff --git a/openapi-gen/openapi.go b/openapi-gen/openapi.go index 12991c73..e40c574b 100644 --- a/openapi-gen/openapi.go +++ b/openapi-gen/openapi.go @@ -141,7 +141,7 @@ func main() { }) if err != nil { - fmt.Println("error executing template", err) + fmt.Println(err) os.Exit(1) } } @@ -181,7 +181,7 @@ func main() { }) if err != nil { - fmt.Println("error executing template", err) + fmt.Println("error generating", name, err) os.Exit(1) } } diff --git a/openapi-gen/templates/go/config.yaml b/openapi-gen/templates/go/config.yaml index 6b50c30d..a741623c 100644 --- a/openapi-gen/templates/go/config.yaml +++ b/openapi-gen/templates/go/config.yaml @@ -1,3 +1,3 @@ additionalParameters: - package: stream-sdk + package: streamsdk fileExtension: .go \ No newline at end of file