Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{{#apis}}
{{#operations}}
export * from './{{ apiFilename }}';
import { {{ classname }} } from './{{ classname }}';
{{/operations}}
{{/apis}}
export const APIS = [ {{#apis}}{{#operations}}{{ classname }}, {{/operations}}{{/apis}}];
Expand Down
Original file line number Diff line number Diff line change
@@ -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, ];
4 changes: 2 additions & 2 deletions samples/client/petstore/typescript-angular2/npm/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## @swagger/angular2-typescript-petstore@0.0.1-SNAPSHOT.201703151645
## @swagger/angular2-typescript-petstore@0.0.1-SNAPSHOT.201703181635

### Building

Expand All @@ -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):_
Expand Down
3 changes: 3 additions & 0 deletions samples/client/petstore/typescript-angular2/npm/api/api.ts
Original file line number Diff line number Diff line change
@@ -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, ];
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down