add back missing changes from #4539 (#5109)

This commit is contained in:
wing328
2017-03-21 16:17:28 +08:00
committed by GitHub
parent 439563bd70
commit 3ebee288ad
5 changed files with 10 additions and 3 deletions

View File

@@ -2,6 +2,7 @@
{{#apis}}
{{#operations}}
export * from './{{ apiFilename }}';
import { {{ classname }} } from './{{ classname }}';
{{/operations}}
{{/apis}}
export const APIS = [ {{#apis}}{{#operations}}{{ classname }}, {{/operations}}{{/apis}}];

View File

@@ -1,4 +1,7 @@
export * from './pet.service';
import { PetService } from './PetService';
export * from './store.service';
import { StoreService } from './StoreService';
export * from './user.service';
import { UserService } from './UserService';
export const APIS = [ PetService, StoreService, UserService, ];

View File

@@ -1,4 +1,4 @@
## @swagger/angular2-typescript-petstore@0.0.1-SNAPSHOT.201703151645
## @swagger/angular2-typescript-petstore@0.0.1-SNAPSHOT.201703181635
### Building
@@ -19,7 +19,7 @@ navigate to the folder of your consuming project and run one of next commando's.
_published:_
```
npm install @swagger/angular2-typescript-petstore@0.0.1-SNAPSHOT.201703151645 --save
npm install @swagger/angular2-typescript-petstore@0.0.1-SNAPSHOT.201703181635 --save
```
_unPublished (not recommended):_

View File

@@ -1,4 +1,7 @@
export * from './pet.service';
import { PetService } from './PetService';
export * from './store.service';
import { StoreService } from './StoreService';
export * from './user.service';
import { UserService } from './UserService';
export const APIS = [ PetService, StoreService, UserService, ];

View File

@@ -1,6 +1,6 @@
{
"name": "@swagger/angular2-typescript-petstore",
"version": "0.0.1-SNAPSHOT.201703151645",
"version": "0.0.1-SNAPSHOT.201703181635",
"description": "swagger client for @swagger/angular2-typescript-petstore",
"author": "Swagger Codegen Contributors",
"keywords": [