Skip to content

Commit cd6a262

Browse files
ralphdoefrantuma
authored andcommitted
samples updates - samples/client/petstore/typescript-jquery/default
1 parent e5b002b commit cd6a262

File tree

4 files changed

+48
-1
lines changed

4 files changed

+48
-1
lines changed

samples/client/petstore/typescript-jquery/default/api/UserApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ export class UserApi {
286286
/**
287287
*
288288
* @summary Get user by user name
289-
* @param username The name that needs to be fetched. Use user1 for testing.
289+
* @param username The name that needs to be fetched. Use user1 for testing.
290290
*/
291291
public getUserByName(username: string, extraJQueryAjaxSettings?: JQueryAjaxSettings): JQueryPromise<{ response: JQueryXHR; body: models.User; }> {
292292
let localVarPath = this.basePath + '/user/{username}'.replace('{' + 'username' + '}', encodeURIComponent(String(username)));
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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+
24+
currency: models.Currency;
25+
26+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
}

samples/client/petstore/typescript-jquery/default/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)