mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 03:18:53 +00:00
Update TypeScript angular sample
This commit is contained in:
parent
09ccf12a3b
commit
64f2e85608
@ -231,7 +231,7 @@ module API.Client {
|
||||
return this.$http(httpRequestParams);
|
||||
}
|
||||
|
||||
public uploadFile (petId: number, additionalMetadata?: string, file?: file, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
|
||||
public uploadFile (petId: number, additionalMetadata?: string, file?: any, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
|
||||
var path = this.basePath + '/pet/{petId}/uploadImage';
|
||||
|
||||
path = path.replace('{' + 'petId' + '}', String(petId));
|
||||
|
@ -16,7 +16,7 @@ module API.Client {
|
||||
}
|
||||
}
|
||||
|
||||
public getInventory (extraHttpRequestParams?: any ) : ng.IHttpPromise<map<String, number>> {
|
||||
public getInventory (extraHttpRequestParams?: any ) : ng.IHttpPromise<{ [key: string]: number; }> {
|
||||
var path = this.basePath + '/store/inventory';
|
||||
|
||||
var queryParameters: any = {};
|
||||
|
Loading…
Reference in New Issue
Block a user