forked from loafle/openapi-generator-original
Update parser to 2.0.29 (#11388)
* update parser to 2.0.29 * better handling of null in dereferencing * update parser to 2.0.30 * update core to newer version * add new files * rollback to previous stable version * remove files * Fixes for python-experimental NullableShape component Co-authored-by: Justin Black <justin.a.black@gmail.com>
This commit is contained in:
@@ -788,6 +788,7 @@ export default class FakeApi {
|
||||
|
||||
/**
|
||||
* test inline additionalProperties
|
||||
*
|
||||
* @param {Object.<String, {String: String}>} requestBody request body
|
||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
||||
*/
|
||||
@@ -820,6 +821,7 @@ export default class FakeApi {
|
||||
|
||||
/**
|
||||
* test inline additionalProperties
|
||||
*
|
||||
* @param {Object.<String, {String: String}>} requestBody request body
|
||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
||||
*/
|
||||
@@ -833,6 +835,7 @@ export default class FakeApi {
|
||||
|
||||
/**
|
||||
* test json serialization of form data
|
||||
*
|
||||
* @param {String} param field1
|
||||
* @param {String} param2 field2
|
||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
||||
@@ -872,6 +875,7 @@ export default class FakeApi {
|
||||
|
||||
/**
|
||||
* test json serialization of form data
|
||||
*
|
||||
* @param {String} param field1
|
||||
* @param {String} param2 field2
|
||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
||||
|
||||
@@ -38,6 +38,7 @@ export default class PetApi {
|
||||
|
||||
/**
|
||||
* Add a new pet to the store
|
||||
*
|
||||
* @param {module:model/Pet} pet Pet object that needs to be added to the store
|
||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
||||
*/
|
||||
@@ -80,6 +81,7 @@ export default class PetApi {
|
||||
|
||||
/**
|
||||
* Add a new pet to the store
|
||||
*
|
||||
* @param {module:model/Pet} pet Pet object that needs to be added to the store
|
||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
||||
*/
|
||||
@@ -93,6 +95,7 @@ export default class PetApi {
|
||||
|
||||
/**
|
||||
* Deletes a pet
|
||||
*
|
||||
* @param {Number} petId Pet id to delete
|
||||
* @param {Object} opts Optional parameters
|
||||
* @param {String} opts.apiKey
|
||||
@@ -130,6 +133,7 @@ export default class PetApi {
|
||||
|
||||
/**
|
||||
* Deletes a pet
|
||||
*
|
||||
* @param {Number} petId Pet id to delete
|
||||
* @param {Object} opts Optional parameters
|
||||
* @param {String} opts.apiKey
|
||||
@@ -289,6 +293,7 @@ export default class PetApi {
|
||||
|
||||
/**
|
||||
* Update an existing pet
|
||||
*
|
||||
* @param {module:model/Pet} pet Pet object that needs to be added to the store
|
||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
||||
*/
|
||||
@@ -331,6 +336,7 @@ export default class PetApi {
|
||||
|
||||
/**
|
||||
* Update an existing pet
|
||||
*
|
||||
* @param {module:model/Pet} pet Pet object that needs to be added to the store
|
||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
||||
*/
|
||||
@@ -344,6 +350,7 @@ export default class PetApi {
|
||||
|
||||
/**
|
||||
* Updates a pet in the store with form data
|
||||
*
|
||||
* @param {Number} petId ID of pet that needs to be updated
|
||||
* @param {Object} opts Optional parameters
|
||||
* @param {String} opts.name Updated name of the pet
|
||||
@@ -383,6 +390,7 @@ export default class PetApi {
|
||||
|
||||
/**
|
||||
* Updates a pet in the store with form data
|
||||
*
|
||||
* @param {Number} petId ID of pet that needs to be updated
|
||||
* @param {Object} opts Optional parameters
|
||||
* @param {String} opts.name Updated name of the pet
|
||||
@@ -399,6 +407,7 @@ export default class PetApi {
|
||||
|
||||
/**
|
||||
* uploads an image
|
||||
*
|
||||
* @param {Number} petId ID of pet to update
|
||||
* @param {Object} opts Optional parameters
|
||||
* @param {String} opts.additionalMetadata Additional data to pass to server
|
||||
@@ -438,6 +447,7 @@ export default class PetApi {
|
||||
|
||||
/**
|
||||
* uploads an image
|
||||
*
|
||||
* @param {Number} petId ID of pet to update
|
||||
* @param {Object} opts Optional parameters
|
||||
* @param {String} opts.additionalMetadata Additional data to pass to server
|
||||
@@ -454,6 +464,7 @@ export default class PetApi {
|
||||
|
||||
/**
|
||||
* uploads an image (required)
|
||||
*
|
||||
* @param {Number} petId ID of pet to update
|
||||
* @param {File} requiredFile file to upload
|
||||
* @param {Object} opts Optional parameters
|
||||
@@ -497,6 +508,7 @@ export default class PetApi {
|
||||
|
||||
/**
|
||||
* uploads an image (required)
|
||||
*
|
||||
* @param {Number} petId ID of pet to update
|
||||
* @param {File} requiredFile file to upload
|
||||
* @param {Object} opts Optional parameters
|
||||
|
||||
@@ -174,6 +174,7 @@ export default class StoreApi {
|
||||
|
||||
/**
|
||||
* Place an order for a pet
|
||||
*
|
||||
* @param {module:model/Order} order order placed for purchasing the pet
|
||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Order} and HTTP response
|
||||
*/
|
||||
@@ -206,6 +207,7 @@ export default class StoreApi {
|
||||
|
||||
/**
|
||||
* Place an order for a pet
|
||||
*
|
||||
* @param {module:model/Order} order order placed for purchasing the pet
|
||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Order}
|
||||
*/
|
||||
|
||||
@@ -84,6 +84,7 @@ export default class UserApi {
|
||||
|
||||
/**
|
||||
* Creates list of users with given input array
|
||||
*
|
||||
* @param {Array.<module:model/User>} user List of user object
|
||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
||||
*/
|
||||
@@ -116,6 +117,7 @@ export default class UserApi {
|
||||
|
||||
/**
|
||||
* Creates list of users with given input array
|
||||
*
|
||||
* @param {Array.<module:model/User>} user List of user object
|
||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
||||
*/
|
||||
@@ -129,6 +131,7 @@ export default class UserApi {
|
||||
|
||||
/**
|
||||
* Creates list of users with given input array
|
||||
*
|
||||
* @param {Array.<module:model/User>} user List of user object
|
||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
||||
*/
|
||||
@@ -161,6 +164,7 @@ export default class UserApi {
|
||||
|
||||
/**
|
||||
* Creates list of users with given input array
|
||||
*
|
||||
* @param {Array.<module:model/User>} user List of user object
|
||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
||||
*/
|
||||
@@ -222,6 +226,7 @@ export default class UserApi {
|
||||
|
||||
/**
|
||||
* Get user by user name
|
||||
*
|
||||
* @param {String} username The name that needs to be fetched. Use user1 for testing.
|
||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/User} and HTTP response
|
||||
*/
|
||||
@@ -255,6 +260,7 @@ export default class UserApi {
|
||||
|
||||
/**
|
||||
* Get user by user name
|
||||
*
|
||||
* @param {String} username The name that needs to be fetched. Use user1 for testing.
|
||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/User}
|
||||
*/
|
||||
@@ -268,6 +274,7 @@ export default class UserApi {
|
||||
|
||||
/**
|
||||
* Logs user into the system
|
||||
*
|
||||
* @param {String} username The user name for login
|
||||
* @param {String} password The password for login in clear text
|
||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link String} and HTTP response
|
||||
@@ -307,6 +314,7 @@ export default class UserApi {
|
||||
|
||||
/**
|
||||
* Logs user into the system
|
||||
*
|
||||
* @param {String} username The user name for login
|
||||
* @param {String} password The password for login in clear text
|
||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link String}
|
||||
@@ -321,6 +329,7 @@ export default class UserApi {
|
||||
|
||||
/**
|
||||
* Logs out current logged in user session
|
||||
*
|
||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
||||
*/
|
||||
logoutUserWithHttpInfo() {
|
||||
@@ -348,6 +357,7 @@ export default class UserApi {
|
||||
|
||||
/**
|
||||
* Logs out current logged in user session
|
||||
*
|
||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
||||
*/
|
||||
logoutUser() {
|
||||
|
||||
Reference in New Issue
Block a user