diff --git a/.gitignore b/.gitignore index fc6bd18734c..be288357f94 100644 --- a/.gitignore +++ b/.gitignore @@ -118,6 +118,7 @@ samples/client/petstore/python/.venv/ # ts samples/client/petstore/typescript-node/npm/node_modules samples/client/petstore/typescript-node/**/typings +samples/client/petstore/typescript-angular/**/typings samples/client/petstore/typescript-fetch/**/dist/ samples/client/petstore/typescript-fetch/**/typings diff --git a/pom.xml b/pom.xml index 473d628220e..0e7505980f3 100644 --- a/pom.xml +++ b/pom.xml @@ -438,6 +438,18 @@ samples/server/petstore/jaxrs + + typescript-angular-client + + + env + java + + + + samples/client/petstore/typescript-angular/npm + + typescript-node-npm-client @@ -483,6 +495,7 @@ + samples/client/petstore/typescript-angular samples/client/petstore/typescript-node/npm samples/client/petstore/android/volley samples/client/petstore/clojure diff --git a/samples/client/petstore/typescript-angular/package.json b/samples/client/petstore/typescript-angular/package.json index 0819b27f295..04801e691a9 100644 --- a/samples/client/petstore/typescript-angular/package.json +++ b/samples/client/petstore/typescript-angular/package.json @@ -1,6 +1,7 @@ { "name": "petstore-typescript-node-sample", "version": "1.0.0", + "repository": "GIT_USER_ID/GIT_REPO_ID", "description": "Sample of generated TypeScript petstore client", "main": "api.js", "scripts": { @@ -8,8 +9,8 @@ "test": "tsc --target ES6 && node client.js", "clean": "rm -Rf node_modules/ typings/ *.js" }, - "author": "Mads M. Tandrup", - "license": "Apache 2.0", + "author": "Swagger Codegen Contributors & Mads M. Tandrup", + "license": "Apache-2.0", "dependencies": { "request": "^2.60.0", "angular": "^1.4.3" diff --git a/samples/client/petstore/typescript-angular/pom.xml b/samples/client/petstore/typescript-angular/pom.xml new file mode 100644 index 00000000000..59f494da700 --- /dev/null +++ b/samples/client/petstore/typescript-angular/pom.xml @@ -0,0 +1,59 @@ + + 4.0.0 + com.wordnik + TypeScriptAngularPestoreClientTests + pom + 1.0-SNAPSHOT + Typescript Angular Swagger Petstore Client + + + + maven-dependency-plugin + + + package + + copy-dependencies + + + ${project.build.directory} + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.2.1 + + + npm-install + pre-integration-test + + exec + + + npm + + install + + + + + npm-test + integration-test + + exec + + + npm + + test + + + + + + + +