diff --git a/scripts/continuserv/main.go b/scripts/continuserv/main.go index b489e06a..e077bde5 100644 --- a/scripts/continuserv/main.go +++ b/scripts/continuserv/main.go @@ -175,7 +175,7 @@ func generate(dir string) (map[string][]byte, error) { // cheekily dump the swagger docs into the gen directory so that it is // easy to serve - cmd = exec.Command("python", "dump-swagger.py", "gen/api-docs.json") + cmd = exec.Command("python", "dump-swagger.py", "-o", "gen/api-docs.json") cmd.Dir = path.Join(dir, "scripts") cmd.Stderr = &b if err := cmd.Run(); err != nil { diff --git a/scripts/speculator/main.go b/scripts/speculator/main.go index 153a8f38..e6e310ce 100644 --- a/scripts/speculator/main.go +++ b/scripts/speculator/main.go @@ -159,7 +159,7 @@ func generate(dir string) error { // cheekily dump the swagger docs into the gen directory so they can be // served by serveSpec - cmd = exec.Command("python", "dump-swagger.py", "gen/api-docs.json") + cmd = exec.Command("python", "dump-swagger.py", "-o", "gen/api-docs.json") cmd.Dir = path.Join(dir, "scripts") cmd.Stderr = &b if err := cmd.Run(); err != nil {