inject base_path opaque token for typescript angular2 (#3514)

* inject base_path opaque token for typescript angular2

* Readme note on providing base path to service
This commit is contained in:
Damien Pontifex
2016-08-22 21:40:51 +08:00
committed by wing328
parent 9a77c48540
commit 54fe7a731c
5 changed files with 21 additions and 4 deletions

View File

@@ -68,6 +68,7 @@ public class TypeScriptAngular2ClientCodegen extends AbstractTypeScriptClientCod
supportingFiles.add(new SupportingFile("models.mustache", modelPackage().replace('.', File.separatorChar), "models.ts"));
supportingFiles.add(new SupportingFile("apis.mustache", apiPackage().replace('.', File.separatorChar), "api.ts"));
supportingFiles.add(new SupportingFile("index.mustache", getIndexDirectory(), "index.ts"));
supportingFiles.add(new SupportingFile("variables.mustache", getIndexDirectory(), "variables.ts"));
supportingFiles.add(new SupportingFile("gitignore", "", ".gitignore"));
supportingFiles.add(new SupportingFile("git_push.sh.mustache", "", "git_push.sh"));