forked from loafle/openapi-generator-original
update optional parameters in jsdoc (#15032)
This commit is contained in:
parent
d1f92acaea
commit
bde5c10092
@ -29,7 +29,7 @@ export default class <&classname> extends ApiClient {
|
|||||||
* <¬es></notes><#allParams><#required>
|
* <¬es></notes><#allParams><#required>
|
||||||
* @param {<&vendorExtensions.x-jsdoc-type>} <¶mName> <&description></required></allParams><#hasOptionalParams>
|
* @param {<&vendorExtensions.x-jsdoc-type>} <¶mName> <&description></required></allParams><#hasOptionalParams>
|
||||||
* @param {Object} opts Optional parameters<#allParams><^required>
|
* @param {Object} opts Optional parameters<#allParams><^required>
|
||||||
* @param {<&vendorExtensions.x-jsdoc-type>} opts.<¶mName> <&description><#defaultValue> (default to <&.>)</defaultValue></required></allParams></hasOptionalParams>
|
* @param {<&vendorExtensions.x-jsdoc-type>} [<¶mName><#defaultValue> = <&.></defaultValue>] <&description></required></allParams></hasOptionalParams>
|
||||||
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
||||||
<=| |=>* @return {Promise|#returnType|<|&vendorExtensions.x-jsdoc-type|>|/returnType|}|=< >=|
|
<=| |=>* @return {Promise|#returnType|<|&vendorExtensions.x-jsdoc-type|>|/returnType|}|=< >=|
|
||||||
*/
|
*/
|
||||||
|
@ -38,7 +38,7 @@ export default class <&classname> {
|
|||||||
* <¬es></notes><#allParams><#required>
|
* <¬es></notes><#allParams><#required>
|
||||||
* @param {<&vendorExtensions.x-jsdoc-type>} <¶mName> <&description></required></allParams><#hasOptionalParams>
|
* @param {<&vendorExtensions.x-jsdoc-type>} <¶mName> <&description></required></allParams><#hasOptionalParams>
|
||||||
* @param {Object} opts Optional parameters<#allParams><^required>
|
* @param {Object} opts Optional parameters<#allParams><^required>
|
||||||
* @param {<&vendorExtensions.x-jsdoc-type>} opts.<¶mName> <&description><#defaultValue> (default to <&.>)</defaultValue></required></allParams></hasOptionalParams><^usePromises>
|
* @param {<&vendorExtensions.x-jsdoc-type>} [<¶mName><#defaultValue> = <&.>)</defaultValue>] <&description></required></allParams></hasOptionalParams><^usePromises>
|
||||||
* @param {module:<#invokerPackage><&invokerPackage>/</invokerPackage><#apiPackage><&apiPackage>/</apiPackage><&classname>~<&operationId>Callback} callback The callback function, accepting three arguments: error, data, response<#returnType>
|
* @param {module:<#invokerPackage><&invokerPackage>/</invokerPackage><#apiPackage><&apiPackage>/</apiPackage><&classname>~<&operationId>Callback} callback The callback function, accepting three arguments: error, data, response<#returnType>
|
||||||
* data is of type: {@link <&vendorExtensions.x-jsdoc-type>}</returnType></usePromises><#usePromises>
|
* data is of type: {@link <&vendorExtensions.x-jsdoc-type>}</returnType></usePromises><#usePromises>
|
||||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}<#returnType>, with an object containing data of type {@link <&vendorExtensions.x-jsdoc-type>} and HTTP response</returnType><^returnType>, with an object containing HTTP response</returnType></usePromises>
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}<#returnType>, with an object containing data of type {@link <&vendorExtensions.x-jsdoc-type>} and HTTP response</returnType><^returnType>, with an object containing HTTP response</returnType></usePromises>
|
||||||
|
@ -74,8 +74,8 @@ export default class FakeApi extends ApiClient {
|
|||||||
* test http signature authentication
|
* test http signature authentication
|
||||||
* @param {module:model/Pet} pet Pet object that needs to be added to the store
|
* @param {module:model/Pet} pet Pet object that needs to be added to the store
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {String} opts.query1 query parameter
|
* @param {String} [query1] query parameter
|
||||||
* @param {String} opts.header1 header parameter
|
* @param {String} [header1] header parameter
|
||||||
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
||||||
* @return {Promise}
|
* @return {Promise}
|
||||||
*/
|
*/
|
||||||
@ -114,7 +114,7 @@ export default class FakeApi extends ApiClient {
|
|||||||
/**
|
/**
|
||||||
* Test serialization of outer boolean types
|
* Test serialization of outer boolean types
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {Boolean} opts.body Input boolean as post body
|
* @param {Boolean} [body] Input boolean as post body
|
||||||
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
||||||
* @return {Promise<Boolean>}
|
* @return {Promise<Boolean>}
|
||||||
*/
|
*/
|
||||||
@ -147,7 +147,7 @@ export default class FakeApi extends ApiClient {
|
|||||||
/**
|
/**
|
||||||
* Test serialization of object with outer number type
|
* Test serialization of object with outer number type
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {module:model/OuterComposite} opts.outerComposite Input composite as post body
|
* @param {module:model/OuterComposite} [outerComposite] Input composite as post body
|
||||||
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
||||||
* @return {Promise<module:model/OuterComposite>}
|
* @return {Promise<module:model/OuterComposite>}
|
||||||
*/
|
*/
|
||||||
@ -180,7 +180,7 @@ export default class FakeApi extends ApiClient {
|
|||||||
/**
|
/**
|
||||||
* Test serialization of outer number types
|
* Test serialization of outer number types
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {Number} opts.body Input number as post body
|
* @param {Number} [body] Input number as post body
|
||||||
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
||||||
* @return {Promise<Number>}
|
* @return {Promise<Number>}
|
||||||
*/
|
*/
|
||||||
@ -213,7 +213,7 @@ export default class FakeApi extends ApiClient {
|
|||||||
/**
|
/**
|
||||||
* Test serialization of outer string types
|
* Test serialization of outer string types
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {String} opts.body Input string as post body
|
* @param {String} [body] Input string as post body
|
||||||
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
||||||
* @return {Promise<String>}
|
* @return {Promise<String>}
|
||||||
*/
|
*/
|
||||||
@ -432,16 +432,16 @@ export default class FakeApi extends ApiClient {
|
|||||||
* @param {String} patternWithoutDelimiter None
|
* @param {String} patternWithoutDelimiter None
|
||||||
* @param {Blob} _byte None
|
* @param {Blob} _byte None
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {Number} opts.integer None
|
* @param {Number} [integer] None
|
||||||
* @param {Number} opts.int32 None
|
* @param {Number} [int32] None
|
||||||
* @param {Number} opts.int64 None
|
* @param {Number} [int64] None
|
||||||
* @param {Number} opts._float None
|
* @param {Number} [_float] None
|
||||||
* @param {String} opts.string None
|
* @param {String} [string] None
|
||||||
* @param {File} opts.binary None
|
* @param {File} [binary] None
|
||||||
* @param {Date} opts.date None
|
* @param {Date} [date] None
|
||||||
* @param {Date} opts.dateTime None
|
* @param {Date} [dateTime] None
|
||||||
* @param {String} opts.password None
|
* @param {String} [password] None
|
||||||
* @param {String} opts.callback None
|
* @param {String} [callback] None
|
||||||
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
||||||
* @return {Promise}
|
* @return {Promise}
|
||||||
*/
|
*/
|
||||||
@ -505,15 +505,15 @@ export default class FakeApi extends ApiClient {
|
|||||||
* To test enum parameters
|
* To test enum parameters
|
||||||
* To test enum parameters
|
* To test enum parameters
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {Array.<module:model/String>} opts.enumHeaderStringArray Header parameter enum test (string array)
|
* @param {Array.<module:model/String>} [enumHeaderStringArray] Header parameter enum test (string array)
|
||||||
* @param {module:model/String} opts.enumHeaderString Header parameter enum test (string) (default to '-efg')
|
* @param {module:model/String} [enumHeaderString = '-efg'] Header parameter enum test (string)
|
||||||
* @param {Array.<module:model/String>} opts.enumQueryStringArray Query parameter enum test (string array)
|
* @param {Array.<module:model/String>} [enumQueryStringArray] Query parameter enum test (string array)
|
||||||
* @param {module:model/String} opts.enumQueryString Query parameter enum test (string) (default to '-efg')
|
* @param {module:model/String} [enumQueryString = '-efg'] Query parameter enum test (string)
|
||||||
* @param {module:model/Number} opts.enumQueryInteger Query parameter enum test (double)
|
* @param {module:model/Number} [enumQueryInteger] Query parameter enum test (double)
|
||||||
* @param {module:model/Number} opts.enumQueryDouble Query parameter enum test (double)
|
* @param {module:model/Number} [enumQueryDouble] Query parameter enum test (double)
|
||||||
* @param {Array.<module:model/EnumClass>} opts.enumQueryModelArray
|
* @param {Array.<module:model/EnumClass>} [enumQueryModelArray]
|
||||||
* @param {Array.<module:model/String>} opts.enumFormStringArray Form parameter enum test (string array) (default to '$')
|
* @param {Array.<module:model/String>} [enumFormStringArray = '$'] Form parameter enum test (string array)
|
||||||
* @param {module:model/String} opts.enumFormString Form parameter enum test (string) (default to '-efg')
|
* @param {module:model/String} [enumFormString = '-efg'] Form parameter enum test (string)
|
||||||
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
||||||
* @return {Promise}
|
* @return {Promise}
|
||||||
*/
|
*/
|
||||||
@ -559,9 +559,9 @@ export default class FakeApi extends ApiClient {
|
|||||||
* @param {Boolean} requiredBooleanGroup Required Boolean in group parameters
|
* @param {Boolean} requiredBooleanGroup Required Boolean in group parameters
|
||||||
* @param {Number} requiredInt64Group Required Integer in group parameters
|
* @param {Number} requiredInt64Group Required Integer in group parameters
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {Number} opts.stringGroup String in group parameters
|
* @param {Number} [stringGroup] String in group parameters
|
||||||
* @param {Boolean} opts.booleanGroup Boolean in group parameters
|
* @param {Boolean} [booleanGroup] Boolean in group parameters
|
||||||
* @param {Number} opts.int64Group Integer in group parameters
|
* @param {Number} [int64Group] Integer in group parameters
|
||||||
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
||||||
* @return {Promise}
|
* @return {Promise}
|
||||||
*/
|
*/
|
||||||
@ -697,7 +697,7 @@ export default class FakeApi extends ApiClient {
|
|||||||
* @param {Array.<String>} context
|
* @param {Array.<String>} context
|
||||||
* @param {String} allowEmpty
|
* @param {String} allowEmpty
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {Object.<String, {String: String}>} opts.language
|
* @param {Object.<String, {String: String}>} [language]
|
||||||
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
||||||
* @return {Promise}
|
* @return {Promise}
|
||||||
*/
|
*/
|
||||||
|
@ -85,7 +85,7 @@ export default class PetApi extends ApiClient {
|
|||||||
*
|
*
|
||||||
* @param {Number} petId Pet id to delete
|
* @param {Number} petId Pet id to delete
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {String} opts.apiKey
|
* @param {String} [apiKey]
|
||||||
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
||||||
* @return {Promise}
|
* @return {Promise}
|
||||||
*/
|
*/
|
||||||
@ -283,8 +283,8 @@ export default class PetApi extends ApiClient {
|
|||||||
*
|
*
|
||||||
* @param {Number} petId ID of pet that needs to be updated
|
* @param {Number} petId ID of pet that needs to be updated
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {String} opts.name Updated name of the pet
|
* @param {String} [name] Updated name of the pet
|
||||||
* @param {String} opts.status Updated status of the pet
|
* @param {String} [status] Updated status of the pet
|
||||||
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
||||||
* @return {Promise}
|
* @return {Promise}
|
||||||
*/
|
*/
|
||||||
@ -326,8 +326,8 @@ export default class PetApi extends ApiClient {
|
|||||||
*
|
*
|
||||||
* @param {Number} petId ID of pet to update
|
* @param {Number} petId ID of pet to update
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {String} opts.additionalMetadata Additional data to pass to server
|
* @param {String} [additionalMetadata] Additional data to pass to server
|
||||||
* @param {File} opts.file file to upload
|
* @param {File} [file] file to upload
|
||||||
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
||||||
* @return {Promise<module:model/ApiResponse>}
|
* @return {Promise<module:model/ApiResponse>}
|
||||||
*/
|
*/
|
||||||
@ -370,7 +370,7 @@ export default class PetApi extends ApiClient {
|
|||||||
* @param {Number} petId ID of pet to update
|
* @param {Number} petId ID of pet to update
|
||||||
* @param {File} requiredFile file to upload
|
* @param {File} requiredFile file to upload
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {String} opts.additionalMetadata Additional data to pass to server
|
* @param {String} [additionalMetadata] Additional data to pass to server
|
||||||
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
* @param requestInit Dynamic configuration. @see {@link https://github.com/apollographql/apollo-server/pull/1277}
|
||||||
* @return {Promise<module:model/ApiResponse>}
|
* @return {Promise<module:model/ApiResponse>}
|
||||||
*/
|
*/
|
||||||
|
@ -89,8 +89,8 @@ export default class FakeApi {
|
|||||||
* test http signature authentication
|
* test http signature authentication
|
||||||
* @param {module:model/Pet} pet Pet object that needs to be added to the store
|
* @param {module:model/Pet} pet Pet object that needs to be added to the store
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {String} opts.query1 query parameter
|
* @param {String} [query1] query parameter
|
||||||
* @param {String} opts.header1 header parameter
|
* @param {String} [header1] header parameter
|
||||||
* @param {module:api/FakeApi~fakeHttpSignatureTestCallback} callback The callback function, accepting three arguments: error, data, response
|
* @param {module:api/FakeApi~fakeHttpSignatureTestCallback} callback The callback function, accepting three arguments: error, data, response
|
||||||
*/
|
*/
|
||||||
fakeHttpSignatureTest(pet, opts, callback) {
|
fakeHttpSignatureTest(pet, opts, callback) {
|
||||||
@ -134,7 +134,7 @@ export default class FakeApi {
|
|||||||
/**
|
/**
|
||||||
* Test serialization of outer boolean types
|
* Test serialization of outer boolean types
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {Boolean} opts.body Input boolean as post body
|
* @param {Boolean} [body] Input boolean as post body
|
||||||
* @param {module:api/FakeApi~fakeOuterBooleanSerializeCallback} callback The callback function, accepting three arguments: error, data, response
|
* @param {module:api/FakeApi~fakeOuterBooleanSerializeCallback} callback The callback function, accepting three arguments: error, data, response
|
||||||
* data is of type: {@link Boolean}
|
* data is of type: {@link Boolean}
|
||||||
*/
|
*/
|
||||||
@ -173,7 +173,7 @@ export default class FakeApi {
|
|||||||
/**
|
/**
|
||||||
* Test serialization of object with outer number type
|
* Test serialization of object with outer number type
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {module:model/OuterComposite} opts.outerComposite Input composite as post body
|
* @param {module:model/OuterComposite} [outerComposite] Input composite as post body
|
||||||
* @param {module:api/FakeApi~fakeOuterCompositeSerializeCallback} callback The callback function, accepting three arguments: error, data, response
|
* @param {module:api/FakeApi~fakeOuterCompositeSerializeCallback} callback The callback function, accepting three arguments: error, data, response
|
||||||
* data is of type: {@link module:model/OuterComposite}
|
* data is of type: {@link module:model/OuterComposite}
|
||||||
*/
|
*/
|
||||||
@ -212,7 +212,7 @@ export default class FakeApi {
|
|||||||
/**
|
/**
|
||||||
* Test serialization of outer number types
|
* Test serialization of outer number types
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {Number} opts.body Input number as post body
|
* @param {Number} [body] Input number as post body
|
||||||
* @param {module:api/FakeApi~fakeOuterNumberSerializeCallback} callback The callback function, accepting three arguments: error, data, response
|
* @param {module:api/FakeApi~fakeOuterNumberSerializeCallback} callback The callback function, accepting three arguments: error, data, response
|
||||||
* data is of type: {@link Number}
|
* data is of type: {@link Number}
|
||||||
*/
|
*/
|
||||||
@ -251,7 +251,7 @@ export default class FakeApi {
|
|||||||
/**
|
/**
|
||||||
* Test serialization of outer string types
|
* Test serialization of outer string types
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {String} opts.body Input string as post body
|
* @param {String} [body] Input string as post body
|
||||||
* @param {module:api/FakeApi~fakeOuterStringSerializeCallback} callback The callback function, accepting three arguments: error, data, response
|
* @param {module:api/FakeApi~fakeOuterStringSerializeCallback} callback The callback function, accepting three arguments: error, data, response
|
||||||
* data is of type: {@link String}
|
* data is of type: {@link String}
|
||||||
*/
|
*/
|
||||||
@ -503,16 +503,16 @@ export default class FakeApi {
|
|||||||
* @param {String} patternWithoutDelimiter None
|
* @param {String} patternWithoutDelimiter None
|
||||||
* @param {Blob} _byte None
|
* @param {Blob} _byte None
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {Number} opts.integer None
|
* @param {Number} [integer] None
|
||||||
* @param {Number} opts.int32 None
|
* @param {Number} [int32] None
|
||||||
* @param {Number} opts.int64 None
|
* @param {Number} [int64] None
|
||||||
* @param {Number} opts._float None
|
* @param {Number} [_float] None
|
||||||
* @param {String} opts.string None
|
* @param {String} [string] None
|
||||||
* @param {File} opts.binary None
|
* @param {File} [binary] None
|
||||||
* @param {Date} opts.date None
|
* @param {Date} [date] None
|
||||||
* @param {Date} opts.dateTime None
|
* @param {Date} [dateTime] None
|
||||||
* @param {String} opts.password None
|
* @param {String} [password] None
|
||||||
* @param {String} opts.callback None
|
* @param {String} [callback] None
|
||||||
* @param {module:api/FakeApi~testEndpointParametersCallback} callback The callback function, accepting three arguments: error, data, response
|
* @param {module:api/FakeApi~testEndpointParametersCallback} callback The callback function, accepting three arguments: error, data, response
|
||||||
*/
|
*/
|
||||||
testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, opts, callback) {
|
testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, opts, callback) {
|
||||||
@ -581,15 +581,15 @@ export default class FakeApi {
|
|||||||
* To test enum parameters
|
* To test enum parameters
|
||||||
* To test enum parameters
|
* To test enum parameters
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {Array.<module:model/String>} opts.enumHeaderStringArray Header parameter enum test (string array)
|
* @param {Array.<module:model/String>} [enumHeaderStringArray] Header parameter enum test (string array)
|
||||||
* @param {module:model/String} opts.enumHeaderString Header parameter enum test (string) (default to '-efg')
|
* @param {module:model/String} [enumHeaderString = '-efg')] Header parameter enum test (string)
|
||||||
* @param {Array.<module:model/String>} opts.enumQueryStringArray Query parameter enum test (string array)
|
* @param {Array.<module:model/String>} [enumQueryStringArray] Query parameter enum test (string array)
|
||||||
* @param {module:model/String} opts.enumQueryString Query parameter enum test (string) (default to '-efg')
|
* @param {module:model/String} [enumQueryString = '-efg')] Query parameter enum test (string)
|
||||||
* @param {module:model/Number} opts.enumQueryInteger Query parameter enum test (double)
|
* @param {module:model/Number} [enumQueryInteger] Query parameter enum test (double)
|
||||||
* @param {module:model/Number} opts.enumQueryDouble Query parameter enum test (double)
|
* @param {module:model/Number} [enumQueryDouble] Query parameter enum test (double)
|
||||||
* @param {Array.<module:model/EnumClass>} opts.enumQueryModelArray
|
* @param {Array.<module:model/EnumClass>} [enumQueryModelArray]
|
||||||
* @param {Array.<module:model/String>} opts.enumFormStringArray Form parameter enum test (string array) (default to '$')
|
* @param {Array.<module:model/String>} [enumFormStringArray = '$')] Form parameter enum test (string array)
|
||||||
* @param {module:model/String} opts.enumFormString Form parameter enum test (string) (default to '-efg')
|
* @param {module:model/String} [enumFormString = '-efg')] Form parameter enum test (string)
|
||||||
* @param {module:api/FakeApi~testEnumParametersCallback} callback The callback function, accepting three arguments: error, data, response
|
* @param {module:api/FakeApi~testEnumParametersCallback} callback The callback function, accepting three arguments: error, data, response
|
||||||
*/
|
*/
|
||||||
testEnumParameters(opts, callback) {
|
testEnumParameters(opts, callback) {
|
||||||
@ -640,9 +640,9 @@ export default class FakeApi {
|
|||||||
* @param {Boolean} requiredBooleanGroup Required Boolean in group parameters
|
* @param {Boolean} requiredBooleanGroup Required Boolean in group parameters
|
||||||
* @param {Number} requiredInt64Group Required Integer in group parameters
|
* @param {Number} requiredInt64Group Required Integer in group parameters
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {Number} opts.stringGroup String in group parameters
|
* @param {Number} [stringGroup] String in group parameters
|
||||||
* @param {Boolean} opts.booleanGroup Boolean in group parameters
|
* @param {Boolean} [booleanGroup] Boolean in group parameters
|
||||||
* @param {Number} opts.int64Group Integer in group parameters
|
* @param {Number} [int64Group] Integer in group parameters
|
||||||
* @param {module:api/FakeApi~testGroupParametersCallback} callback The callback function, accepting three arguments: error, data, response
|
* @param {module:api/FakeApi~testGroupParametersCallback} callback The callback function, accepting three arguments: error, data, response
|
||||||
*/
|
*/
|
||||||
testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, opts, callback) {
|
testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, opts, callback) {
|
||||||
@ -793,7 +793,7 @@ export default class FakeApi {
|
|||||||
* @param {Array.<String>} context
|
* @param {Array.<String>} context
|
||||||
* @param {String} allowEmpty
|
* @param {String} allowEmpty
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {Object.<String, {String: String}>} opts.language
|
* @param {Object.<String, {String: String}>} [language]
|
||||||
* @param {module:api/FakeApi~testQueryParameterCollectionFormatCallback} callback The callback function, accepting three arguments: error, data, response
|
* @param {module:api/FakeApi~testQueryParameterCollectionFormatCallback} callback The callback function, accepting three arguments: error, data, response
|
||||||
*/
|
*/
|
||||||
testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, allowEmpty, opts, callback) {
|
testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, allowEmpty, opts, callback) {
|
||||||
|
@ -99,7 +99,7 @@ export default class PetApi {
|
|||||||
*
|
*
|
||||||
* @param {Number} petId Pet id to delete
|
* @param {Number} petId Pet id to delete
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {String} opts.apiKey
|
* @param {String} [apiKey]
|
||||||
* @param {module:api/PetApi~deletePetCallback} callback The callback function, accepting three arguments: error, data, response
|
* @param {module:api/PetApi~deletePetCallback} callback The callback function, accepting three arguments: error, data, response
|
||||||
*/
|
*/
|
||||||
deletePet(petId, opts, callback) {
|
deletePet(petId, opts, callback) {
|
||||||
@ -325,8 +325,8 @@ export default class PetApi {
|
|||||||
*
|
*
|
||||||
* @param {Number} petId ID of pet that needs to be updated
|
* @param {Number} petId ID of pet that needs to be updated
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {String} opts.name Updated name of the pet
|
* @param {String} [name] Updated name of the pet
|
||||||
* @param {String} opts.status Updated status of the pet
|
* @param {String} [status] Updated status of the pet
|
||||||
* @param {module:api/PetApi~updatePetWithFormCallback} callback The callback function, accepting three arguments: error, data, response
|
* @param {module:api/PetApi~updatePetWithFormCallback} callback The callback function, accepting three arguments: error, data, response
|
||||||
*/
|
*/
|
||||||
updatePetWithForm(petId, opts, callback) {
|
updatePetWithForm(petId, opts, callback) {
|
||||||
@ -373,8 +373,8 @@ export default class PetApi {
|
|||||||
*
|
*
|
||||||
* @param {Number} petId ID of pet to update
|
* @param {Number} petId ID of pet to update
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {String} opts.additionalMetadata Additional data to pass to server
|
* @param {String} [additionalMetadata] Additional data to pass to server
|
||||||
* @param {File} opts.file file to upload
|
* @param {File} [file] file to upload
|
||||||
* @param {module:api/PetApi~uploadFileCallback} callback The callback function, accepting three arguments: error, data, response
|
* @param {module:api/PetApi~uploadFileCallback} callback The callback function, accepting three arguments: error, data, response
|
||||||
* data is of type: {@link module:model/ApiResponse}
|
* data is of type: {@link module:model/ApiResponse}
|
||||||
*/
|
*/
|
||||||
@ -423,7 +423,7 @@ export default class PetApi {
|
|||||||
* @param {Number} petId ID of pet to update
|
* @param {Number} petId ID of pet to update
|
||||||
* @param {File} requiredFile file to upload
|
* @param {File} requiredFile file to upload
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {String} opts.additionalMetadata Additional data to pass to server
|
* @param {String} [additionalMetadata] Additional data to pass to server
|
||||||
* @param {module:api/PetApi~uploadFileWithRequiredFileCallback} callback The callback function, accepting three arguments: error, data, response
|
* @param {module:api/PetApi~uploadFileWithRequiredFileCallback} callback The callback function, accepting three arguments: error, data, response
|
||||||
* data is of type: {@link module:model/ApiResponse}
|
* data is of type: {@link module:model/ApiResponse}
|
||||||
*/
|
*/
|
||||||
|
@ -85,8 +85,8 @@ export default class FakeApi {
|
|||||||
* test http signature authentication
|
* test http signature authentication
|
||||||
* @param {module:model/Pet} pet Pet object that needs to be added to the store
|
* @param {module:model/Pet} pet Pet object that needs to be added to the store
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {String} opts.query1 query parameter
|
* @param {String} [query1] query parameter
|
||||||
* @param {String} opts.header1 header parameter
|
* @param {String} [header1] header parameter
|
||||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
||||||
*/
|
*/
|
||||||
fakeHttpSignatureTestWithHttpInfo(pet, opts) {
|
fakeHttpSignatureTestWithHttpInfo(pet, opts) {
|
||||||
@ -138,7 +138,7 @@ export default class FakeApi {
|
|||||||
/**
|
/**
|
||||||
* Test serialization of outer boolean types
|
* Test serialization of outer boolean types
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {Boolean} opts.body Input boolean as post body
|
* @param {Boolean} [body] Input boolean as post body
|
||||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Boolean} and HTTP response
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Boolean} and HTTP response
|
||||||
*/
|
*/
|
||||||
fakeOuterBooleanSerializeWithHttpInfo(opts) {
|
fakeOuterBooleanSerializeWithHttpInfo(opts) {
|
||||||
@ -182,7 +182,7 @@ export default class FakeApi {
|
|||||||
/**
|
/**
|
||||||
* Test serialization of object with outer number type
|
* Test serialization of object with outer number type
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {module:model/OuterComposite} opts.outerComposite Input composite as post body
|
* @param {module:model/OuterComposite} [outerComposite] Input composite as post body
|
||||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OuterComposite} and HTTP response
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OuterComposite} and HTTP response
|
||||||
*/
|
*/
|
||||||
fakeOuterCompositeSerializeWithHttpInfo(opts) {
|
fakeOuterCompositeSerializeWithHttpInfo(opts) {
|
||||||
@ -226,7 +226,7 @@ export default class FakeApi {
|
|||||||
/**
|
/**
|
||||||
* Test serialization of outer number types
|
* Test serialization of outer number types
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {Number} opts.body Input number as post body
|
* @param {Number} [body] Input number as post body
|
||||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Number} and HTTP response
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Number} and HTTP response
|
||||||
*/
|
*/
|
||||||
fakeOuterNumberSerializeWithHttpInfo(opts) {
|
fakeOuterNumberSerializeWithHttpInfo(opts) {
|
||||||
@ -270,7 +270,7 @@ export default class FakeApi {
|
|||||||
/**
|
/**
|
||||||
* Test serialization of outer string types
|
* Test serialization of outer string types
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {String} opts.body Input string as post body
|
* @param {String} [body] Input string as post body
|
||||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link String} and HTTP response
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link String} and HTTP response
|
||||||
*/
|
*/
|
||||||
fakeOuterStringSerializeWithHttpInfo(opts) {
|
fakeOuterStringSerializeWithHttpInfo(opts) {
|
||||||
@ -551,16 +551,16 @@ export default class FakeApi {
|
|||||||
* @param {String} patternWithoutDelimiter None
|
* @param {String} patternWithoutDelimiter None
|
||||||
* @param {Blob} _byte None
|
* @param {Blob} _byte None
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {Number} opts.integer None
|
* @param {Number} [integer] None
|
||||||
* @param {Number} opts.int32 None
|
* @param {Number} [int32] None
|
||||||
* @param {Number} opts.int64 None
|
* @param {Number} [int64] None
|
||||||
* @param {Number} opts._float None
|
* @param {Number} [_float] None
|
||||||
* @param {String} opts.string None
|
* @param {String} [string] None
|
||||||
* @param {File} opts.binary None
|
* @param {File} [binary] None
|
||||||
* @param {Date} opts.date None
|
* @param {Date} [date] None
|
||||||
* @param {Date} opts.dateTime None
|
* @param {Date} [dateTime] None
|
||||||
* @param {String} opts.password None
|
* @param {String} [password] None
|
||||||
* @param {String} opts.callback None
|
* @param {String} [callback] None
|
||||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
||||||
*/
|
*/
|
||||||
testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, opts) {
|
testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, opts) {
|
||||||
@ -649,15 +649,15 @@ export default class FakeApi {
|
|||||||
* To test enum parameters
|
* To test enum parameters
|
||||||
* To test enum parameters
|
* To test enum parameters
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {Array.<module:model/String>} opts.enumHeaderStringArray Header parameter enum test (string array)
|
* @param {Array.<module:model/String>} [enumHeaderStringArray] Header parameter enum test (string array)
|
||||||
* @param {module:model/String} opts.enumHeaderString Header parameter enum test (string) (default to '-efg')
|
* @param {module:model/String} [enumHeaderString = '-efg')] Header parameter enum test (string)
|
||||||
* @param {Array.<module:model/String>} opts.enumQueryStringArray Query parameter enum test (string array)
|
* @param {Array.<module:model/String>} [enumQueryStringArray] Query parameter enum test (string array)
|
||||||
* @param {module:model/String} opts.enumQueryString Query parameter enum test (string) (default to '-efg')
|
* @param {module:model/String} [enumQueryString = '-efg')] Query parameter enum test (string)
|
||||||
* @param {module:model/Number} opts.enumQueryInteger Query parameter enum test (double)
|
* @param {module:model/Number} [enumQueryInteger] Query parameter enum test (double)
|
||||||
* @param {module:model/Number} opts.enumQueryDouble Query parameter enum test (double)
|
* @param {module:model/Number} [enumQueryDouble] Query parameter enum test (double)
|
||||||
* @param {Array.<module:model/EnumClass>} opts.enumQueryModelArray
|
* @param {Array.<module:model/EnumClass>} [enumQueryModelArray]
|
||||||
* @param {Array.<module:model/String>} opts.enumFormStringArray Form parameter enum test (string array) (default to '$')
|
* @param {Array.<module:model/String>} [enumFormStringArray = '$')] Form parameter enum test (string array)
|
||||||
* @param {module:model/String} opts.enumFormString Form parameter enum test (string) (default to '-efg')
|
* @param {module:model/String} [enumFormString = '-efg')] Form parameter enum test (string)
|
||||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
||||||
*/
|
*/
|
||||||
testEnumParametersWithHttpInfo(opts) {
|
testEnumParametersWithHttpInfo(opts) {
|
||||||
@ -723,9 +723,9 @@ export default class FakeApi {
|
|||||||
* @param {Boolean} requiredBooleanGroup Required Boolean in group parameters
|
* @param {Boolean} requiredBooleanGroup Required Boolean in group parameters
|
||||||
* @param {Number} requiredInt64Group Required Integer in group parameters
|
* @param {Number} requiredInt64Group Required Integer in group parameters
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {Number} opts.stringGroup String in group parameters
|
* @param {Number} [stringGroup] String in group parameters
|
||||||
* @param {Boolean} opts.booleanGroup Boolean in group parameters
|
* @param {Boolean} [booleanGroup] Boolean in group parameters
|
||||||
* @param {Number} opts.int64Group Integer in group parameters
|
* @param {Number} [int64Group] Integer in group parameters
|
||||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
||||||
*/
|
*/
|
||||||
testGroupParametersWithHttpInfo(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, opts) {
|
testGroupParametersWithHttpInfo(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, opts) {
|
||||||
@ -901,7 +901,7 @@ export default class FakeApi {
|
|||||||
* @param {Array.<String>} context
|
* @param {Array.<String>} context
|
||||||
* @param {String} allowEmpty
|
* @param {String} allowEmpty
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {Object.<String, {String: String}>} opts.language
|
* @param {Object.<String, {String: String}>} [language]
|
||||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
||||||
*/
|
*/
|
||||||
testQueryParameterCollectionFormatWithHttpInfo(pipe, ioutil, http, url, context, allowEmpty, opts) {
|
testQueryParameterCollectionFormatWithHttpInfo(pipe, ioutil, http, url, context, allowEmpty, opts) {
|
||||||
|
@ -98,7 +98,7 @@ export default class PetApi {
|
|||||||
*
|
*
|
||||||
* @param {Number} petId Pet id to delete
|
* @param {Number} petId Pet id to delete
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {String} opts.apiKey
|
* @param {String} [apiKey]
|
||||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
||||||
*/
|
*/
|
||||||
deletePetWithHttpInfo(petId, opts) {
|
deletePetWithHttpInfo(petId, opts) {
|
||||||
@ -353,8 +353,8 @@ export default class PetApi {
|
|||||||
*
|
*
|
||||||
* @param {Number} petId ID of pet that needs to be updated
|
* @param {Number} petId ID of pet that needs to be updated
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {String} opts.name Updated name of the pet
|
* @param {String} [name] Updated name of the pet
|
||||||
* @param {String} opts.status Updated status of the pet
|
* @param {String} [status] Updated status of the pet
|
||||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
||||||
*/
|
*/
|
||||||
updatePetWithFormWithHttpInfo(petId, opts) {
|
updatePetWithFormWithHttpInfo(petId, opts) {
|
||||||
@ -410,8 +410,8 @@ export default class PetApi {
|
|||||||
*
|
*
|
||||||
* @param {Number} petId ID of pet to update
|
* @param {Number} petId ID of pet to update
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {String} opts.additionalMetadata Additional data to pass to server
|
* @param {String} [additionalMetadata] Additional data to pass to server
|
||||||
* @param {File} opts.file file to upload
|
* @param {File} [file] file to upload
|
||||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApiResponse} and HTTP response
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApiResponse} and HTTP response
|
||||||
*/
|
*/
|
||||||
uploadFileWithHttpInfo(petId, opts) {
|
uploadFileWithHttpInfo(petId, opts) {
|
||||||
@ -468,7 +468,7 @@ export default class PetApi {
|
|||||||
* @param {Number} petId ID of pet to update
|
* @param {Number} petId ID of pet to update
|
||||||
* @param {File} requiredFile file to upload
|
* @param {File} requiredFile file to upload
|
||||||
* @param {Object} opts Optional parameters
|
* @param {Object} opts Optional parameters
|
||||||
* @param {String} opts.additionalMetadata Additional data to pass to server
|
* @param {String} [additionalMetadata] Additional data to pass to server
|
||||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApiResponse} and HTTP response
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApiResponse} and HTTP response
|
||||||
*/
|
*/
|
||||||
uploadFileWithRequiredFileWithHttpInfo(petId, requiredFile, opts) {
|
uploadFileWithRequiredFileWithHttpInfo(petId, requiredFile, opts) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user