Skip to content

Commit e8b120e

Browse files
ralphdoefrantuma
authored andcommitted
samples updates - samples/client/petstore/typescript-angularjs/
1 parent d993634 commit e8b120e

File tree

5 files changed

+49
-2
lines changed

5 files changed

+49
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.1
1+
2.4.0-SNAPSHOT

samples/client/petstore/typescript-angularjs/api/UserApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export class UserApi {
145145
/**
146146
*
147147
* @summary Get user by user name
148-
* @param username The name that needs to be fetched. Use user1 for testing.
148+
* @param username The name that needs to be fetched. Use user1 for testing.
149149
*/
150150
public getUserByName (username: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.User> {
151151
const localVarPath = this.basePath + '/user/{username}'
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/**
2+
* Swagger Petstore
3+
* This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
4+
*
5+
* OpenAPI spec version: 1.0.0
6+
* Contact: [email protected]
7+
*
8+
* NOTE: This class is auto generated by the swagger code generator program.
9+
* https://github.com/swagger-api/swagger-codegen.git
10+
* Do not edit the class manually.
11+
*/
12+
13+
import * as models from './models';
14+
15+
/**
16+
* some description
17+
*/
18+
export interface Amount {
19+
/**
20+
* some description
21+
*/
22+
"value": number;
23+
"currency": models.Currency;
24+
}
25+
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/**
2+
* Swagger Petstore
3+
* This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
4+
*
5+
* OpenAPI spec version: 1.0.0
6+
* Contact: [email protected]
7+
*
8+
* NOTE: This class is auto generated by the swagger code generator program.
9+
* https://github.com/swagger-api/swagger-codegen.git
10+
* Do not edit the class manually.
11+
*/
12+
13+
import * as models from './models';
14+
15+
/**
16+
* some description
17+
*/
18+
export interface Currency {
19+
}
20+

samples/client/petstore/typescript-angularjs/model/models.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
export * from './Amount';
12
export * from './ApiResponse';
23
export * from './Category';
4+
export * from './Currency';
35
export * from './Order';
46
export * from './Pet';
57
export * from './Tag';

0 commit comments

Comments
 (0)