Skip to content

Commit

Permalink
samples updates - samples/client/petstore/typescript-jquery/default
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphdoe authored and frantuma committed Nov 7, 2018
1 parent e5b002b commit cd6a262
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ export class UserApi {
/**
*
* @summary Get user by user name
* @param username The name that needs to be fetched. Use user1 for testing.
* @param username The name that needs to be fetched. Use user1 for testing.
*/
public getUserByName(username: string, extraJQueryAjaxSettings?: JQueryAjaxSettings): JQueryPromise<{ response: JQueryXHR; body: models.User; }> {
let localVarPath = this.basePath + '/user/{username}'.replace('{' + 'username' + '}', encodeURIComponent(String(username)));
Expand Down
26 changes: 26 additions & 0 deletions samples/client/petstore/typescript-jquery/default/model/Amount.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/**
* Swagger Petstore
* This is a sample server Petstore server. You can find out more about Swagger at [https://swagger.io](https://swagger.io) or on [irc.freenode.net, #swagger](https://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
*
* OpenAPI spec version: 1.0.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/

import * as models from './models';

/**
* some description
*/
export interface Amount {
/**
* some description
*/
value: number;

currency: models.Currency;

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* Swagger Petstore
* This is a sample server Petstore server. You can find out more about Swagger at [https://swagger.io](https://swagger.io) or on [irc.freenode.net, #swagger](https://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
*
* OpenAPI spec version: 1.0.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/

import * as models from './models';

/**
* some description
*/
export interface Currency {
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
export * from './Amount';
export * from './ApiResponse';
export * from './Category';
export * from './Currency';
export * from './Order';
export * from './Pet';
export * from './Tag';
Expand Down

0 comments on commit cd6a262

Please sign in to comment.