Dump-swagger: take output file name rather than output dir
Make the argument to dump-swagger.py be the name of the output file rather than the output dir, and give it a sensible default. Also, use the absolute path to the output file, so that the output path is relative to the user's cwd rather than the templating dir.
This commit is contained in:
parent
9b93c5f463
commit
c39d797cce
2 changed files with 19 additions and 8 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,6 +1,7 @@
|
|||
scripts/gen
|
||||
scripts/continuserv/continuserv
|
||||
scripts/speculator/speculator
|
||||
/scripts/swagger
|
||||
templating/out
|
||||
*.pyc
|
||||
*.swp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue