Skip to content

Commit da2a523

Browse files
committed
update samples
1 parent adafcb3 commit da2a523

File tree

41 files changed

+153
-102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+153
-102
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.19-SNAPSHOT
1+
2.4.44

samples/client/petstore/typescript-angular-v2/default/api/pet.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import { Configuration } from '../configurat
3030
@Injectable()
3131
export class PetService {
3232

33-
protected basePath = 'https://petstore.swagger.io/v2';
33+
protected basePath = 'http://petstore.swagger.io/v2';
3434
public defaultHeaders = new Headers();
3535
public configuration = new Configuration();
3636

samples/client/petstore/typescript-angular-v2/default/api/store.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { Configuration } from '../configurat
2929
@Injectable()
3030
export class StoreService {
3131

32-
protected basePath = 'https://petstore.swagger.io/v2';
32+
protected basePath = 'http://petstore.swagger.io/v2';
3333
public defaultHeaders = new Headers();
3434
public configuration = new Configuration();
3535

samples/client/petstore/typescript-angular-v2/default/api/user.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { Configuration } from '../configurat
2929
@Injectable()
3030
export class UserService {
3131

32-
protected basePath = 'https://petstore.swagger.io/v2';
32+
protected basePath = 'http://petstore.swagger.io/v2';
3333
public defaultHeaders = new Headers();
3434
public configuration = new Configuration();
3535

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.19-SNAPSHOT
1+
2.4.44

samples/client/petstore/typescript-angular-v2/npm/api/pet.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import { Configuration } from '../configurat
3030
@Injectable()
3131
export class PetService {
3232

33-
protected basePath = 'https://petstore.swagger.io/v2';
33+
protected basePath = 'http://petstore.swagger.io/v2';
3434
public defaultHeaders = new Headers();
3535
public configuration = new Configuration();
3636

samples/client/petstore/typescript-angular-v2/npm/api/store.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { Configuration } from '../configurat
2929
@Injectable()
3030
export class StoreService {
3131

32-
protected basePath = 'https://petstore.swagger.io/v2';
32+
protected basePath = 'http://petstore.swagger.io/v2';
3333
public defaultHeaders = new Headers();
3434
public configuration = new Configuration();
3535

samples/client/petstore/typescript-angular-v2/npm/api/user.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { Configuration } from '../configurat
2929
@Injectable()
3030
export class UserService {
3131

32-
protected basePath = 'https://petstore.swagger.io/v2';
32+
protected basePath = 'http://petstore.swagger.io/v2';
3333
public defaultHeaders = new Headers();
3434
public configuration = new Configuration();
3535

samples/client/petstore/typescript-angular-v2/npm/package.json

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,18 @@
1414
"build": "ngc",
1515
"postinstall": "npm run build"
1616
},
17-
"peerDependencies": {
18-
"@angular/core": "^2.0.0",
19-
"@angular/http": "^2.0.0",
20-
"@angular/common": "^2.0.0",
21-
"@angular/compiler": "^2.0.0",
22-
"core-js": "^2.4.0",
23-
"reflect-metadata": "^0.1.3",
24-
"rxjs": "^5.4.0",
25-
"zone.js": "^0.7.6"
26-
},
2717
"devDependencies": {
2818
"@angular/compiler-cli": "^2.0.0",
2919
"@angular/core": "^2.0.0",
3020
"@angular/http": "^2.0.0",
3121
"@angular/common": "^2.0.0",
3222
"@angular/compiler": "^2.0.0",
3323
"@angular/platform-browser": "^2.0.0",
24+
"ng-packagr": "^3.0.6",
3425
"reflect-metadata": "^0.1.3",
35-
"rxjs": "^5.4.0",
36-
"zone.js": "^0.7.6",
37-
"typescript": ">=2.1.5 <2.8"
26+
"rxjs": "^6.1.0",
27+
"zone.js": "^0.8.26",
28+
"typescript": "^>=2.1.5 and <2.8"
3829
},
3930
"publishConfig": {
4031
"registry": "https://skimdb.npmjs.com/registry"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.19-SNAPSHOT
1+
2.4.44

0 commit comments

Comments
 (0)