forked from loafle/openapi-generator-original
Use the latest version of superagent. (#3579)
* Use the latest version of superagent. * Run javascript shell scripts.
This commit is contained in:
committed by
William Cheng
parent
850c493c63
commit
5e27f11ef1
@@ -0,0 +1,21 @@
|
||||
goog.provide('API.Client.inline_object');
|
||||
|
||||
/**
|
||||
* @record
|
||||
*/
|
||||
API.Client.InlineObject = function() {}
|
||||
|
||||
/**
|
||||
* Updated name of the pet
|
||||
* @type {!string}
|
||||
* @export
|
||||
*/
|
||||
API.Client.InlineObject.prototype.name;
|
||||
|
||||
/**
|
||||
* Updated status of the pet
|
||||
* @type {!string}
|
||||
* @export
|
||||
*/
|
||||
API.Client.InlineObject.prototype.status;
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
goog.provide('API.Client.inline_object_1');
|
||||
|
||||
/**
|
||||
* @record
|
||||
*/
|
||||
API.Client.InlineObject1 = function() {}
|
||||
|
||||
/**
|
||||
* Additional data to pass to server
|
||||
* @type {!string}
|
||||
* @export
|
||||
*/
|
||||
API.Client.InlineObject1.prototype.additionalMetadata;
|
||||
|
||||
/**
|
||||
* file to upload
|
||||
* @type {!Object}
|
||||
* @export
|
||||
*/
|
||||
API.Client.InlineObject1.prototype.file;
|
||||
|
||||
@@ -165,10 +165,11 @@ API.Client.PetApi.prototype.findPetsByStatus = function(status, opt_extraHttpReq
|
||||
* Finds Pets by tags
|
||||
* Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
||||
* @param {!Array<!string>} tags Tags to filter by
|
||||
* @param {!number=} opt_maxCount Maximum number of items to return
|
||||
* @param {!angular.$http.Config=} opt_extraHttpRequestParams Extra HTTP parameters to send.
|
||||
* @return {!angular.$q.Promise<!Array<!API.Client.Pet>>}
|
||||
*/
|
||||
API.Client.PetApi.prototype.findPetsByTags = function(tags, opt_extraHttpRequestParams) {
|
||||
API.Client.PetApi.prototype.findPetsByTags = function(tags, opt_maxCount, opt_extraHttpRequestParams) {
|
||||
/** @const {string} */
|
||||
var path = this.basePath_ + '/pet/findByTags';
|
||||
|
||||
@@ -185,6 +186,10 @@ API.Client.PetApi.prototype.findPetsByTags = function(tags, opt_extraHttpRequest
|
||||
queryParameters['tags'] = tags;
|
||||
}
|
||||
|
||||
if (opt_maxCount !== undefined) {
|
||||
queryParameters['maxCount'] = opt_maxCount;
|
||||
}
|
||||
|
||||
/** @type {!Object} */
|
||||
var httpRequestParams = {
|
||||
method: 'GET',
|
||||
|
||||
Reference in New Issue
Block a user