Delete the generated API files before regenerating
This commit is contained in:
parent
e9168102e2
commit
c552851efc
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
|||
"export-i18n": "bundle exec rake settings:combine_translations",
|
||||
"generate-openapi": "rake oapi:gen",
|
||||
"get-codegen-cli": "script/download_codegen_cli.sh",
|
||||
"generate-api-js": "npm run get-codegen-cli && npm run generate-openapi && java -jar .bin/swagger-codegen-cli.jar generate -l 'typescript-jquery' -i tmp/openapi.json -o javascripts/api -t lib/swagger-typescript-jquery"
|
||||
"generate-api-js": "rm -rf javascripts/api && npm run get-codegen-cli && npm run generate-openapi && java -jar .bin/swagger-codegen-cli.jar generate -l 'typescript-jquery' -i tmp/openapi.json -o javascripts/api -t lib/swagger-typescript-jquery"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/enzyme": "^3.1.9",
|
||||
|
|
Loading…
Reference in a new issue