diff --git a/modules/openapi-generator/src/main/resources/Javascript/ApiClient.mustache b/modules/openapi-generator/src/main/resources/Javascript/ApiClient.mustache
index 997e9446f0f..b6bbc473749 100644
--- a/modules/openapi-generator/src/main/resources/Javascript/ApiClient.mustache
+++ b/modules/openapi-generator/src/main/resources/Javascript/ApiClient.mustache
@@ -445,7 +445,7 @@
}
}
}
- } else if (bodyParam) {
+ } else if (bodyParam !== null && bodyParam !== undefined) {
request.send(bodyParam);
}
diff --git a/modules/openapi-generator/src/main/resources/Javascript/es6/ApiClient.mustache b/modules/openapi-generator/src/main/resources/Javascript/es6/ApiClient.mustache
index f824d552fce..49b92e21cae 100644
--- a/modules/openapi-generator/src/main/resources/Javascript/es6/ApiClient.mustache
+++ b/modules/openapi-generator/src/main/resources/Javascript/es6/ApiClient.mustache
@@ -397,7 +397,7 @@ class ApiClient {
}
}
}
- } else if (bodyParam) {
+ } else if (bodyParam !== null && bodyParam !== undefined) {
request.send(bodyParam);
}
@@ -602,4 +602,4 @@ ApiClient.CollectionFormatEnum = {
* @type {module:{{#invokerPackage}}{{invokerPackage}}/{{/invokerPackage}}ApiClient}
*/{{/emitJSDoc}}
ApiClient.instance = new ApiClient();
-export default ApiClient;
\ No newline at end of file
+export default ApiClient;
diff --git a/samples/client/petstore/javascript-es6/.openapi-generator/VERSION b/samples/client/petstore/javascript-es6/.openapi-generator/VERSION
index a6527129083..d077ffb477a 100644
--- a/samples/client/petstore/javascript-es6/.openapi-generator/VERSION
+++ b/samples/client/petstore/javascript-es6/.openapi-generator/VERSION
@@ -1 +1 @@
-3.3.2-SNAPSHOT
\ No newline at end of file
+3.3.4-SNAPSHOT
\ No newline at end of file
diff --git a/samples/client/petstore/javascript-es6/README.md b/samples/client/petstore/javascript-es6/README.md
index 7674da7bb39..b4f29570532 100644
--- a/samples/client/petstore/javascript-es6/README.md
+++ b/samples/client/petstore/javascript-es6/README.md
@@ -100,6 +100,7 @@ Class | Method | HTTP request | Description
*OpenApiPetstore.FakeApi* | [**testClientModel**](docs/FakeApi.md#testClientModel) | **PATCH** /fake | To test \"client\" model
*OpenApiPetstore.FakeApi* | [**testEndpointParameters**](docs/FakeApi.md#testEndpointParameters) | **POST** /fake | Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
*OpenApiPetstore.FakeApi* | [**testEnumParameters**](docs/FakeApi.md#testEnumParameters) | **GET** /fake | To test enum parameters
+*OpenApiPetstore.FakeApi* | [**testGroupParameters**](docs/FakeApi.md#testGroupParameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional)
*OpenApiPetstore.FakeApi* | [**testInlineAdditionalProperties**](docs/FakeApi.md#testInlineAdditionalProperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties
*OpenApiPetstore.FakeApi* | [**testJsonFormData**](docs/FakeApi.md#testJsonFormData) | **GET** /fake/jsonFormData | test json serialization of form data
*OpenApiPetstore.FakeClassnameTags123Api* | [**testClassname**](docs/FakeClassnameTags123Api.md#testClassname) | **PATCH** /fake_classname_test | To test class name in snake case
diff --git a/samples/client/petstore/javascript-es6/docs/Category.md b/samples/client/petstore/javascript-es6/docs/Category.md
index e3f934442ab..5c333f8f61f 100644
--- a/samples/client/petstore/javascript-es6/docs/Category.md
+++ b/samples/client/petstore/javascript-es6/docs/Category.md
@@ -4,6 +4,6 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **Number** | | [optional]
-**name** | **String** | | [optional]
+**name** | **String** | | [default to 'default-name']
diff --git a/samples/client/petstore/javascript-es6/docs/FakeApi.md b/samples/client/petstore/javascript-es6/docs/FakeApi.md
index 0407a450fff..1dea8f79698 100644
--- a/samples/client/petstore/javascript-es6/docs/FakeApi.md
+++ b/samples/client/petstore/javascript-es6/docs/FakeApi.md
@@ -13,6 +13,7 @@ Method | HTTP request | Description
[**testClientModel**](FakeApi.md#testClientModel) | **PATCH** /fake | To test \"client\" model
[**testEndpointParameters**](FakeApi.md#testEndpointParameters) | **POST** /fake | Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
[**testEnumParameters**](FakeApi.md#testEnumParameters) | **GET** /fake | To test enum parameters
+[**testGroupParameters**](FakeApi.md#testGroupParameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional)
[**testInlineAdditionalProperties**](FakeApi.md#testInlineAdditionalProperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties
[**testJsonFormData**](FakeApi.md#testJsonFormData) | **GET** /fake/jsonFormData | test json serialization of form data
@@ -453,6 +454,60 @@ No authorization required
- **Content-Type**: application/x-www-form-urlencoded
- **Accept**: Not defined
+
+# **testGroupParameters**
+> testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, opts)
+
+Fake endpoint to test group parameters (optional)
+
+Fake endpoint to test group parameters (optional)
+
+### Example
+```javascript
+import OpenApiPetstore from 'open_api_petstore';
+
+let apiInstance = new OpenApiPetstore.FakeApi();
+let requiredStringGroup = 56; // Number | Required String in group parameters
+let requiredBooleanGroup = true; // Boolean | Required Boolean in group parameters
+let requiredInt64Group = 789; // Number | Required Integer in group parameters
+let opts = {
+ 'stringGroup': 56, // Number | String in group parameters
+ 'booleanGroup': true, // Boolean | Boolean in group parameters
+ 'int64Group': 789 // Number | Integer in group parameters
+};
+apiInstance.testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **requiredStringGroup** | **Number**| Required String in group parameters |
+ **requiredBooleanGroup** | **Boolean**| Required Boolean in group parameters |
+ **requiredInt64Group** | **Number**| Required Integer in group parameters |
+ **stringGroup** | **Number**| String in group parameters | [optional]
+ **booleanGroup** | **Boolean**| Boolean in group parameters | [optional]
+ **int64Group** | **Number**| Integer in group parameters | [optional]
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: Not defined
+
# **testInlineAdditionalProperties**
> testInlineAdditionalProperties(requestBody)
diff --git a/samples/client/petstore/javascript-es6/src/ApiClient.js b/samples/client/petstore/javascript-es6/src/ApiClient.js
index 5f0486a1841..369632309dc 100644
--- a/samples/client/petstore/javascript-es6/src/ApiClient.js
+++ b/samples/client/petstore/javascript-es6/src/ApiClient.js
@@ -399,7 +399,7 @@ class ApiClient {
}
}
}
- } else if (bodyParam) {
+ } else if (bodyParam !== null && bodyParam !== undefined) {
request.send(bodyParam);
}
@@ -586,4 +586,4 @@ ApiClient.CollectionFormatEnum = {
* @type {module:ApiClient}
*/
ApiClient.instance = new ApiClient();
-export default ApiClient;
\ No newline at end of file
+export default ApiClient;
diff --git a/samples/client/petstore/javascript-es6/src/api/FakeApi.js b/samples/client/petstore/javascript-es6/src/api/FakeApi.js
index b559f360781..49bbe41cb8a 100644
--- a/samples/client/petstore/javascript-es6/src/api/FakeApi.js
+++ b/samples/client/petstore/javascript-es6/src/api/FakeApi.js
@@ -482,6 +482,73 @@ export default class FakeApi {
);
}
+ /**
+ * Callback function to receive the result of the testGroupParameters operation.
+ * @callback module:api/FakeApi~testGroupParametersCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Fake endpoint to test group parameters (optional)
+ * Fake endpoint to test group parameters (optional)
+ * @param {Number} requiredStringGroup Required String in group parameters
+ * @param {Boolean} requiredBooleanGroup Required Boolean in group parameters
+ * @param {Number} requiredInt64Group Required Integer in group parameters
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.stringGroup String in group parameters
+ * @param {Boolean} opts.booleanGroup Boolean in group parameters
+ * @param {Number} opts.int64Group Integer in group parameters
+ * @param {module:api/FakeApi~testGroupParametersCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+
+ // verify the required parameter 'requiredStringGroup' is set
+ if (requiredStringGroup === undefined || requiredStringGroup === null) {
+ throw new Error("Missing the required parameter 'requiredStringGroup' when calling testGroupParameters");
+ }
+
+ // verify the required parameter 'requiredBooleanGroup' is set
+ if (requiredBooleanGroup === undefined || requiredBooleanGroup === null) {
+ throw new Error("Missing the required parameter 'requiredBooleanGroup' when calling testGroupParameters");
+ }
+
+ // verify the required parameter 'requiredInt64Group' is set
+ if (requiredInt64Group === undefined || requiredInt64Group === null) {
+ throw new Error("Missing the required parameter 'requiredInt64Group' when calling testGroupParameters");
+ }
+
+
+ let pathParams = {
+ };
+ let queryParams = {
+ 'required_string_group': requiredStringGroup,
+ 'required_int64_group': requiredInt64Group,
+ 'string_group': opts['stringGroup'],
+ 'int64_group': opts['int64Group']
+ };
+ let headerParams = {
+ 'required_boolean_group': requiredBooleanGroup,
+ 'boolean_group': opts['booleanGroup']
+ };
+ let formParams = {
+ };
+
+ let authNames = [];
+ let contentTypes = [];
+ let accepts = [];
+ let returnType = null;
+
+ return this.apiClient.callApi(
+ '/fake', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, callback
+ );
+ }
+
/**
* Callback function to receive the result of the testInlineAdditionalProperties operation.
* @callback module:api/FakeApi~testInlineAdditionalPropertiesCallback
diff --git a/samples/client/petstore/javascript-es6/src/model/Category.js b/samples/client/petstore/javascript-es6/src/model/Category.js
index fd0bf79dafb..5540805591c 100644
--- a/samples/client/petstore/javascript-es6/src/model/Category.js
+++ b/samples/client/petstore/javascript-es6/src/model/Category.js
@@ -22,10 +22,11 @@ class Category {
/**
* Constructs a new Category
.
* @alias module:model/Category
+ * @param name {String}
*/
- constructor() {
+ constructor(name) {
- Category.initialize(this);
+ Category.initialize(this, name);
}
/**
@@ -33,7 +34,8 @@ class Category {
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
- static initialize(obj) {
+ static initialize(obj, name) {
+ obj['name'] = name;
}
/**
@@ -67,8 +69,9 @@ Category.prototype['id'] = undefined;
/**
* @member {String} name
+ * @default 'default-name'
*/
-Category.prototype['name'] = undefined;
+Category.prototype['name'] = 'default-name';
diff --git a/samples/client/petstore/javascript-promise-es6/.openapi-generator/VERSION b/samples/client/petstore/javascript-promise-es6/.openapi-generator/VERSION
index a6527129083..d077ffb477a 100644
--- a/samples/client/petstore/javascript-promise-es6/.openapi-generator/VERSION
+++ b/samples/client/petstore/javascript-promise-es6/.openapi-generator/VERSION
@@ -1 +1 @@
-3.3.2-SNAPSHOT
\ No newline at end of file
+3.3.4-SNAPSHOT
\ No newline at end of file
diff --git a/samples/client/petstore/javascript-promise-es6/README.md b/samples/client/petstore/javascript-promise-es6/README.md
index 46b329b1bc4..347e37e72ce 100644
--- a/samples/client/petstore/javascript-promise-es6/README.md
+++ b/samples/client/petstore/javascript-promise-es6/README.md
@@ -98,6 +98,7 @@ Class | Method | HTTP request | Description
*OpenApiPetstore.FakeApi* | [**testClientModel**](docs/FakeApi.md#testClientModel) | **PATCH** /fake | To test \"client\" model
*OpenApiPetstore.FakeApi* | [**testEndpointParameters**](docs/FakeApi.md#testEndpointParameters) | **POST** /fake | Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
*OpenApiPetstore.FakeApi* | [**testEnumParameters**](docs/FakeApi.md#testEnumParameters) | **GET** /fake | To test enum parameters
+*OpenApiPetstore.FakeApi* | [**testGroupParameters**](docs/FakeApi.md#testGroupParameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional)
*OpenApiPetstore.FakeApi* | [**testInlineAdditionalProperties**](docs/FakeApi.md#testInlineAdditionalProperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties
*OpenApiPetstore.FakeApi* | [**testJsonFormData**](docs/FakeApi.md#testJsonFormData) | **GET** /fake/jsonFormData | test json serialization of form data
*OpenApiPetstore.FakeClassnameTags123Api* | [**testClassname**](docs/FakeClassnameTags123Api.md#testClassname) | **PATCH** /fake_classname_test | To test class name in snake case
diff --git a/samples/client/petstore/javascript-promise-es6/docs/Category.md b/samples/client/petstore/javascript-promise-es6/docs/Category.md
index e3f934442ab..5c333f8f61f 100644
--- a/samples/client/petstore/javascript-promise-es6/docs/Category.md
+++ b/samples/client/petstore/javascript-promise-es6/docs/Category.md
@@ -4,6 +4,6 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **Number** | | [optional]
-**name** | **String** | | [optional]
+**name** | **String** | | [default to 'default-name']
diff --git a/samples/client/petstore/javascript-promise-es6/docs/FakeApi.md b/samples/client/petstore/javascript-promise-es6/docs/FakeApi.md
index a9e7e06545d..16c96651c46 100644
--- a/samples/client/petstore/javascript-promise-es6/docs/FakeApi.md
+++ b/samples/client/petstore/javascript-promise-es6/docs/FakeApi.md
@@ -13,6 +13,7 @@ Method | HTTP request | Description
[**testClientModel**](FakeApi.md#testClientModel) | **PATCH** /fake | To test \"client\" model
[**testEndpointParameters**](FakeApi.md#testEndpointParameters) | **POST** /fake | Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
[**testEnumParameters**](FakeApi.md#testEnumParameters) | **GET** /fake | To test enum parameters
+[**testGroupParameters**](FakeApi.md#testGroupParameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional)
[**testInlineAdditionalProperties**](FakeApi.md#testInlineAdditionalProperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties
[**testJsonFormData**](FakeApi.md#testJsonFormData) | **GET** /fake/jsonFormData | test json serialization of form data
@@ -444,6 +445,59 @@ No authorization required
- **Content-Type**: application/x-www-form-urlencoded
- **Accept**: Not defined
+
+# **testGroupParameters**
+> testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, opts)
+
+Fake endpoint to test group parameters (optional)
+
+Fake endpoint to test group parameters (optional)
+
+### Example
+```javascript
+import OpenApiPetstore from 'open_api_petstore';
+
+let apiInstance = new OpenApiPetstore.FakeApi();
+let requiredStringGroup = 56; // Number | Required String in group parameters
+let requiredBooleanGroup = true; // Boolean | Required Boolean in group parameters
+let requiredInt64Group = 789; // Number | Required Integer in group parameters
+let opts = {
+ 'stringGroup': 56, // Number | String in group parameters
+ 'booleanGroup': true, // Boolean | Boolean in group parameters
+ 'int64Group': 789 // Number | Integer in group parameters
+};
+apiInstance.testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, opts).then(() => {
+ console.log('API called successfully.');
+}, (error) => {
+ console.error(error);
+});
+
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **requiredStringGroup** | **Number**| Required String in group parameters |
+ **requiredBooleanGroup** | **Boolean**| Required Boolean in group parameters |
+ **requiredInt64Group** | **Number**| Required Integer in group parameters |
+ **stringGroup** | **Number**| String in group parameters | [optional]
+ **booleanGroup** | **Boolean**| Boolean in group parameters | [optional]
+ **int64Group** | **Number**| Integer in group parameters | [optional]
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: Not defined
+
# **testInlineAdditionalProperties**
> testInlineAdditionalProperties(requestBody)
diff --git a/samples/client/petstore/javascript-promise-es6/src/ApiClient.js b/samples/client/petstore/javascript-promise-es6/src/ApiClient.js
index 4ce5c1e48d3..2b2d43810cf 100644
--- a/samples/client/petstore/javascript-promise-es6/src/ApiClient.js
+++ b/samples/client/petstore/javascript-promise-es6/src/ApiClient.js
@@ -392,7 +392,7 @@ class ApiClient {
}
}
}
- } else if (bodyParam) {
+ } else if (bodyParam !== null && bodyParam !== undefined) {
request.send(bodyParam);
}
@@ -578,4 +578,4 @@ ApiClient.CollectionFormatEnum = {
* @type {module:ApiClient}
*/
ApiClient.instance = new ApiClient();
-export default ApiClient;
\ No newline at end of file
+export default ApiClient;
diff --git a/samples/client/petstore/javascript-promise-es6/src/api/FakeApi.js b/samples/client/petstore/javascript-promise-es6/src/api/FakeApi.js
index 63650ef631b..1f8bcf6cb3e 100644
--- a/samples/client/petstore/javascript-promise-es6/src/api/FakeApi.js
+++ b/samples/client/petstore/javascript-promise-es6/src/api/FakeApi.js
@@ -552,6 +552,85 @@ export default class FakeApi {
}
+ /**
+ * Fake endpoint to test group parameters (optional)
+ * Fake endpoint to test group parameters (optional)
+ * @param {Number} requiredStringGroup Required String in group parameters
+ * @param {Boolean} requiredBooleanGroup Required Boolean in group parameters
+ * @param {Number} requiredInt64Group Required Integer in group parameters
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.stringGroup String in group parameters
+ * @param {Boolean} opts.booleanGroup Boolean in group parameters
+ * @param {Number} opts.int64Group Integer in group parameters
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
+ */
+ testGroupParametersWithHttpInfo(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, opts) {
+ opts = opts || {};
+ let postBody = null;
+
+ // verify the required parameter 'requiredStringGroup' is set
+ if (requiredStringGroup === undefined || requiredStringGroup === null) {
+ throw new Error("Missing the required parameter 'requiredStringGroup' when calling testGroupParameters");
+ }
+
+ // verify the required parameter 'requiredBooleanGroup' is set
+ if (requiredBooleanGroup === undefined || requiredBooleanGroup === null) {
+ throw new Error("Missing the required parameter 'requiredBooleanGroup' when calling testGroupParameters");
+ }
+
+ // verify the required parameter 'requiredInt64Group' is set
+ if (requiredInt64Group === undefined || requiredInt64Group === null) {
+ throw new Error("Missing the required parameter 'requiredInt64Group' when calling testGroupParameters");
+ }
+
+
+ let pathParams = {
+ };
+ let queryParams = {
+ 'required_string_group': requiredStringGroup,
+ 'required_int64_group': requiredInt64Group,
+ 'string_group': opts['stringGroup'],
+ 'int64_group': opts['int64Group']
+ };
+ let headerParams = {
+ 'required_boolean_group': requiredBooleanGroup,
+ 'boolean_group': opts['booleanGroup']
+ };
+ let formParams = {
+ };
+
+ let authNames = [];
+ let contentTypes = [];
+ let accepts = [];
+ let returnType = null;
+
+ return this.apiClient.callApi(
+ '/fake', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType
+ );
+ }
+
+ /**
+ * Fake endpoint to test group parameters (optional)
+ * Fake endpoint to test group parameters (optional)
+ * @param {Number} requiredStringGroup Required String in group parameters
+ * @param {Boolean} requiredBooleanGroup Required Boolean in group parameters
+ * @param {Number} requiredInt64Group Required Integer in group parameters
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.stringGroup String in group parameters
+ * @param {Boolean} opts.booleanGroup Boolean in group parameters
+ * @param {Number} opts.int64Group Integer in group parameters
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
+ */
+ testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, opts) {
+ return this.testGroupParametersWithHttpInfo(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, opts)
+ .then(function(response_and_data) {
+ return response_and_data.data;
+ });
+ }
+
+
/**
* test inline additionalProperties
* @param {Object.} requestBody request body
diff --git a/samples/client/petstore/javascript-promise-es6/src/model/Category.js b/samples/client/petstore/javascript-promise-es6/src/model/Category.js
index fd0bf79dafb..5540805591c 100644
--- a/samples/client/petstore/javascript-promise-es6/src/model/Category.js
+++ b/samples/client/petstore/javascript-promise-es6/src/model/Category.js
@@ -22,10 +22,11 @@ class Category {
/**
* Constructs a new Category
.
* @alias module:model/Category
+ * @param name {String}
*/
- constructor() {
+ constructor(name) {
- Category.initialize(this);
+ Category.initialize(this, name);
}
/**
@@ -33,7 +34,8 @@ class Category {
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
- static initialize(obj) {
+ static initialize(obj, name) {
+ obj['name'] = name;
}
/**
@@ -67,8 +69,9 @@ Category.prototype['id'] = undefined;
/**
* @member {String} name
+ * @default 'default-name'
*/
-Category.prototype['name'] = undefined;
+Category.prototype['name'] = 'default-name';
diff --git a/samples/client/petstore/javascript-promise/.openapi-generator/VERSION b/samples/client/petstore/javascript-promise/.openapi-generator/VERSION
index a6527129083..d077ffb477a 100644
--- a/samples/client/petstore/javascript-promise/.openapi-generator/VERSION
+++ b/samples/client/petstore/javascript-promise/.openapi-generator/VERSION
@@ -1 +1 @@
-3.3.2-SNAPSHOT
\ No newline at end of file
+3.3.4-SNAPSHOT
\ No newline at end of file
diff --git a/samples/client/petstore/javascript-promise/README.md b/samples/client/petstore/javascript-promise/README.md
index 93b5f02e223..59bf811bf4c 100644
--- a/samples/client/petstore/javascript-promise/README.md
+++ b/samples/client/petstore/javascript-promise/README.md
@@ -122,6 +122,7 @@ Class | Method | HTTP request | Description
*OpenApiPetstore.FakeApi* | [**testClientModel**](docs/FakeApi.md#testClientModel) | **PATCH** /fake | To test \"client\" model
*OpenApiPetstore.FakeApi* | [**testEndpointParameters**](docs/FakeApi.md#testEndpointParameters) | **POST** /fake | Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
*OpenApiPetstore.FakeApi* | [**testEnumParameters**](docs/FakeApi.md#testEnumParameters) | **GET** /fake | To test enum parameters
+*OpenApiPetstore.FakeApi* | [**testGroupParameters**](docs/FakeApi.md#testGroupParameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional)
*OpenApiPetstore.FakeApi* | [**testInlineAdditionalProperties**](docs/FakeApi.md#testInlineAdditionalProperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties
*OpenApiPetstore.FakeApi* | [**testJsonFormData**](docs/FakeApi.md#testJsonFormData) | **GET** /fake/jsonFormData | test json serialization of form data
*OpenApiPetstore.FakeClassnameTags123Api* | [**testClassname**](docs/FakeClassnameTags123Api.md#testClassname) | **PATCH** /fake_classname_test | To test class name in snake case
diff --git a/samples/client/petstore/javascript-promise/docs/Category.md b/samples/client/petstore/javascript-promise/docs/Category.md
index e3f934442ab..5c333f8f61f 100644
--- a/samples/client/petstore/javascript-promise/docs/Category.md
+++ b/samples/client/petstore/javascript-promise/docs/Category.md
@@ -4,6 +4,6 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **Number** | | [optional]
-**name** | **String** | | [optional]
+**name** | **String** | | [default to 'default-name']
diff --git a/samples/client/petstore/javascript-promise/docs/FakeApi.md b/samples/client/petstore/javascript-promise/docs/FakeApi.md
index d582de17b0a..657796e7986 100644
--- a/samples/client/petstore/javascript-promise/docs/FakeApi.md
+++ b/samples/client/petstore/javascript-promise/docs/FakeApi.md
@@ -13,6 +13,7 @@ Method | HTTP request | Description
[**testClientModel**](FakeApi.md#testClientModel) | **PATCH** /fake | To test \"client\" model
[**testEndpointParameters**](FakeApi.md#testEndpointParameters) | **POST** /fake | Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
[**testEnumParameters**](FakeApi.md#testEnumParameters) | **GET** /fake | To test enum parameters
+[**testGroupParameters**](FakeApi.md#testGroupParameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional)
[**testInlineAdditionalProperties**](FakeApi.md#testInlineAdditionalProperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties
[**testJsonFormData**](FakeApi.md#testJsonFormData) | **GET** /fake/jsonFormData | test json serialization of form data
@@ -444,6 +445,59 @@ No authorization required
- **Content-Type**: application/x-www-form-urlencoded
- **Accept**: Not defined
+
+# **testGroupParameters**
+> testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, opts)
+
+Fake endpoint to test group parameters (optional)
+
+Fake endpoint to test group parameters (optional)
+
+### Example
+```javascript
+var OpenApiPetstore = require('open_api_petstore');
+
+var apiInstance = new OpenApiPetstore.FakeApi();
+var requiredStringGroup = 56; // Number | Required String in group parameters
+var requiredBooleanGroup = true; // Boolean | Required Boolean in group parameters
+var requiredInt64Group = 789; // Number | Required Integer in group parameters
+var opts = {
+ 'stringGroup': 56, // Number | String in group parameters
+ 'booleanGroup': true, // Boolean | Boolean in group parameters
+ 'int64Group': 789 // Number | Integer in group parameters
+};
+apiInstance.testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, opts).then(function() {
+ console.log('API called successfully.');
+}, function(error) {
+ console.error(error);
+});
+
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **requiredStringGroup** | **Number**| Required String in group parameters |
+ **requiredBooleanGroup** | **Boolean**| Required Boolean in group parameters |
+ **requiredInt64Group** | **Number**| Required Integer in group parameters |
+ **stringGroup** | **Number**| String in group parameters | [optional]
+ **booleanGroup** | **Boolean**| Boolean in group parameters | [optional]
+ **int64Group** | **Number**| Integer in group parameters | [optional]
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: Not defined
+
# **testInlineAdditionalProperties**
> testInlineAdditionalProperties(requestBody)
diff --git a/samples/client/petstore/javascript-promise/src/ApiClient.js b/samples/client/petstore/javascript-promise/src/ApiClient.js
index fd9b273f1c4..0415153dac1 100644
--- a/samples/client/petstore/javascript-promise/src/ApiClient.js
+++ b/samples/client/petstore/javascript-promise/src/ApiClient.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
@@ -442,7 +442,7 @@
}
}
}
- } else if (bodyParam) {
+ } else if (bodyParam !== null && bodyParam !== undefined) {
request.send(bodyParam);
}
diff --git a/samples/client/petstore/javascript-promise/src/api/AnotherFakeApi.js b/samples/client/petstore/javascript-promise/src/api/AnotherFakeApi.js
index 4eda5bcca47..0cf76b87e8d 100644
--- a/samples/client/petstore/javascript-promise/src/api/AnotherFakeApi.js
+++ b/samples/client/petstore/javascript-promise/src/api/AnotherFakeApi.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/api/FakeApi.js b/samples/client/petstore/javascript-promise/src/api/FakeApi.js
index 9ce1caaeae7..1aa120ea66c 100644
--- a/samples/client/petstore/javascript-promise/src/api/FakeApi.js
+++ b/samples/client/petstore/javascript-promise/src/api/FakeApi.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
@@ -583,6 +583,87 @@
}
+ /**
+ * Fake endpoint to test group parameters (optional)
+ * Fake endpoint to test group parameters (optional)
+ * @param {Number} requiredStringGroup Required String in group parameters
+ * @param {Boolean} requiredBooleanGroup Required Boolean in group parameters
+ * @param {Number} requiredInt64Group Required Integer in group parameters
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.stringGroup String in group parameters
+ * @param {Boolean} opts.booleanGroup Boolean in group parameters
+ * @param {Number} opts.int64Group Integer in group parameters
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
+ */
+ this.testGroupParametersWithHttpInfo = function(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, opts) {
+ opts = opts || {};
+ var postBody = null;
+
+ // verify the required parameter 'requiredStringGroup' is set
+ if (requiredStringGroup === undefined || requiredStringGroup === null) {
+ throw new Error("Missing the required parameter 'requiredStringGroup' when calling testGroupParameters");
+ }
+
+ // verify the required parameter 'requiredBooleanGroup' is set
+ if (requiredBooleanGroup === undefined || requiredBooleanGroup === null) {
+ throw new Error("Missing the required parameter 'requiredBooleanGroup' when calling testGroupParameters");
+ }
+
+ // verify the required parameter 'requiredInt64Group' is set
+ if (requiredInt64Group === undefined || requiredInt64Group === null) {
+ throw new Error("Missing the required parameter 'requiredInt64Group' when calling testGroupParameters");
+ }
+
+
+ var pathParams = {
+ };
+ var queryParams = {
+ 'required_string_group': requiredStringGroup,
+ 'required_int64_group': requiredInt64Group,
+ 'string_group': opts['stringGroup'],
+ 'int64_group': opts['int64Group'],
+ };
+ var collectionQueryParams = {
+ };
+ var headerParams = {
+ 'required_boolean_group': requiredBooleanGroup,
+ 'boolean_group': opts['booleanGroup']
+ };
+ var formParams = {
+ };
+
+ var authNames = [];
+ var contentTypes = [];
+ var accepts = [];
+ var returnType = null;
+
+ return this.apiClient.callApi(
+ '/fake', 'DELETE',
+ pathParams, queryParams, collectionQueryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType
+ );
+ }
+
+ /**
+ * Fake endpoint to test group parameters (optional)
+ * Fake endpoint to test group parameters (optional)
+ * @param {Number} requiredStringGroup Required String in group parameters
+ * @param {Boolean} requiredBooleanGroup Required Boolean in group parameters
+ * @param {Number} requiredInt64Group Required Integer in group parameters
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.stringGroup String in group parameters
+ * @param {Boolean} opts.booleanGroup Boolean in group parameters
+ * @param {Number} opts.int64Group Integer in group parameters
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
+ */
+ this.testGroupParameters = function(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, opts) {
+ return this.testGroupParametersWithHttpInfo(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, opts)
+ .then(function(response_and_data) {
+ return response_and_data.data;
+ });
+ }
+
+
/**
* test inline additionalProperties
* @param {Object.} requestBody request body
diff --git a/samples/client/petstore/javascript-promise/src/api/FakeClassnameTags123Api.js b/samples/client/petstore/javascript-promise/src/api/FakeClassnameTags123Api.js
index a7afa739af3..db5c71108c3 100644
--- a/samples/client/petstore/javascript-promise/src/api/FakeClassnameTags123Api.js
+++ b/samples/client/petstore/javascript-promise/src/api/FakeClassnameTags123Api.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/api/PetApi.js b/samples/client/petstore/javascript-promise/src/api/PetApi.js
index f1ec4381556..163988f1e6e 100644
--- a/samples/client/petstore/javascript-promise/src/api/PetApi.js
+++ b/samples/client/petstore/javascript-promise/src/api/PetApi.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/api/StoreApi.js b/samples/client/petstore/javascript-promise/src/api/StoreApi.js
index c84d1e93c7f..a353ffa8ff1 100644
--- a/samples/client/petstore/javascript-promise/src/api/StoreApi.js
+++ b/samples/client/petstore/javascript-promise/src/api/StoreApi.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/api/UserApi.js b/samples/client/petstore/javascript-promise/src/api/UserApi.js
index 88e15f0386d..cb9f8ac3ef1 100644
--- a/samples/client/petstore/javascript-promise/src/api/UserApi.js
+++ b/samples/client/petstore/javascript-promise/src/api/UserApi.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/index.js b/samples/client/petstore/javascript-promise/src/index.js
index f7de11f4e55..e00b58c4016 100644
--- a/samples/client/petstore/javascript-promise/src/index.js
+++ b/samples/client/petstore/javascript-promise/src/index.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/AdditionalPropertiesClass.js b/samples/client/petstore/javascript-promise/src/model/AdditionalPropertiesClass.js
index aa85406e6a6..0d48ba4f187 100644
--- a/samples/client/petstore/javascript-promise/src/model/AdditionalPropertiesClass.js
+++ b/samples/client/petstore/javascript-promise/src/model/AdditionalPropertiesClass.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/Animal.js b/samples/client/petstore/javascript-promise/src/model/Animal.js
index 1c26f336515..8e654bb67e2 100644
--- a/samples/client/petstore/javascript-promise/src/model/Animal.js
+++ b/samples/client/petstore/javascript-promise/src/model/Animal.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/AnimalFarm.js b/samples/client/petstore/javascript-promise/src/model/AnimalFarm.js
index 1186bb4b207..ad8a9a2549b 100644
--- a/samples/client/petstore/javascript-promise/src/model/AnimalFarm.js
+++ b/samples/client/petstore/javascript-promise/src/model/AnimalFarm.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/ApiResponse.js b/samples/client/petstore/javascript-promise/src/model/ApiResponse.js
index 8a5161ed12d..b828a05a2bd 100644
--- a/samples/client/petstore/javascript-promise/src/model/ApiResponse.js
+++ b/samples/client/petstore/javascript-promise/src/model/ApiResponse.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/ArrayOfArrayOfNumberOnly.js b/samples/client/petstore/javascript-promise/src/model/ArrayOfArrayOfNumberOnly.js
index aa150c35acc..a37b20ccca0 100644
--- a/samples/client/petstore/javascript-promise/src/model/ArrayOfArrayOfNumberOnly.js
+++ b/samples/client/petstore/javascript-promise/src/model/ArrayOfArrayOfNumberOnly.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/ArrayOfNumberOnly.js b/samples/client/petstore/javascript-promise/src/model/ArrayOfNumberOnly.js
index c0a345a76b1..b8acf5a198a 100644
--- a/samples/client/petstore/javascript-promise/src/model/ArrayOfNumberOnly.js
+++ b/samples/client/petstore/javascript-promise/src/model/ArrayOfNumberOnly.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/ArrayTest.js b/samples/client/petstore/javascript-promise/src/model/ArrayTest.js
index 955463cf2ce..b9a9200a502 100644
--- a/samples/client/petstore/javascript-promise/src/model/ArrayTest.js
+++ b/samples/client/petstore/javascript-promise/src/model/ArrayTest.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/Capitalization.js b/samples/client/petstore/javascript-promise/src/model/Capitalization.js
index 2f960c5b9ef..a8363bf0330 100644
--- a/samples/client/petstore/javascript-promise/src/model/Capitalization.js
+++ b/samples/client/petstore/javascript-promise/src/model/Capitalization.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/Cat.js b/samples/client/petstore/javascript-promise/src/model/Cat.js
index 20131cfe2d1..7d781b51be0 100644
--- a/samples/client/petstore/javascript-promise/src/model/Cat.js
+++ b/samples/client/petstore/javascript-promise/src/model/Cat.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/Category.js b/samples/client/petstore/javascript-promise/src/model/Category.js
index bd9d7e54685..9512d0bc236 100644
--- a/samples/client/petstore/javascript-promise/src/model/Category.js
+++ b/samples/client/petstore/javascript-promise/src/model/Category.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
@@ -42,10 +42,12 @@
* Constructs a new Category
.
* @alias module:model/Category
* @class
+ * @param name {String}
*/
- var exports = function() {
+ var exports = function(name) {
var _this = this;
+ _this['name'] = name;
};
/**
@@ -74,8 +76,9 @@
exports.prototype['id'] = undefined;
/**
* @member {String} name
+ * @default 'default-name'
*/
- exports.prototype['name'] = undefined;
+ exports.prototype['name'] = 'default-name';
diff --git a/samples/client/petstore/javascript-promise/src/model/ClassModel.js b/samples/client/petstore/javascript-promise/src/model/ClassModel.js
index a1208fdd575..6ae2d532ca1 100644
--- a/samples/client/petstore/javascript-promise/src/model/ClassModel.js
+++ b/samples/client/petstore/javascript-promise/src/model/ClassModel.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/Client.js b/samples/client/petstore/javascript-promise/src/model/Client.js
index e2af3bfa10f..d5dd5500fa7 100644
--- a/samples/client/petstore/javascript-promise/src/model/Client.js
+++ b/samples/client/petstore/javascript-promise/src/model/Client.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/Dog.js b/samples/client/petstore/javascript-promise/src/model/Dog.js
index f5a73c3bca8..1a9f2e24b45 100644
--- a/samples/client/petstore/javascript-promise/src/model/Dog.js
+++ b/samples/client/petstore/javascript-promise/src/model/Dog.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/EnumArrays.js b/samples/client/petstore/javascript-promise/src/model/EnumArrays.js
index c0c93dfecb7..e147e6f5b73 100644
--- a/samples/client/petstore/javascript-promise/src/model/EnumArrays.js
+++ b/samples/client/petstore/javascript-promise/src/model/EnumArrays.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/EnumClass.js b/samples/client/petstore/javascript-promise/src/model/EnumClass.js
index be0e548d3ff..6548a6a2e3c 100644
--- a/samples/client/petstore/javascript-promise/src/model/EnumClass.js
+++ b/samples/client/petstore/javascript-promise/src/model/EnumClass.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/EnumTest.js b/samples/client/petstore/javascript-promise/src/model/EnumTest.js
index b0c37e129bc..c0ab8d67788 100644
--- a/samples/client/petstore/javascript-promise/src/model/EnumTest.js
+++ b/samples/client/petstore/javascript-promise/src/model/EnumTest.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/File.js b/samples/client/petstore/javascript-promise/src/model/File.js
index eb5bd17d80b..9ce05336134 100644
--- a/samples/client/petstore/javascript-promise/src/model/File.js
+++ b/samples/client/petstore/javascript-promise/src/model/File.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/FileSchemaTestClass.js b/samples/client/petstore/javascript-promise/src/model/FileSchemaTestClass.js
index 93a23dcbd7b..5863d01f6ad 100644
--- a/samples/client/petstore/javascript-promise/src/model/FileSchemaTestClass.js
+++ b/samples/client/petstore/javascript-promise/src/model/FileSchemaTestClass.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/FormatTest.js b/samples/client/petstore/javascript-promise/src/model/FormatTest.js
index 63b9b283299..3df6cc6cfe4 100644
--- a/samples/client/petstore/javascript-promise/src/model/FormatTest.js
+++ b/samples/client/petstore/javascript-promise/src/model/FormatTest.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/HasOnlyReadOnly.js b/samples/client/petstore/javascript-promise/src/model/HasOnlyReadOnly.js
index 817af5d86b7..81fcd418208 100644
--- a/samples/client/petstore/javascript-promise/src/model/HasOnlyReadOnly.js
+++ b/samples/client/petstore/javascript-promise/src/model/HasOnlyReadOnly.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/List.js b/samples/client/petstore/javascript-promise/src/model/List.js
index 4412a32c822..b25bf17304f 100644
--- a/samples/client/petstore/javascript-promise/src/model/List.js
+++ b/samples/client/petstore/javascript-promise/src/model/List.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/MapTest.js b/samples/client/petstore/javascript-promise/src/model/MapTest.js
index f5499f47517..790f79f35d9 100644
--- a/samples/client/petstore/javascript-promise/src/model/MapTest.js
+++ b/samples/client/petstore/javascript-promise/src/model/MapTest.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/MixedPropertiesAndAdditionalPropertiesClass.js b/samples/client/petstore/javascript-promise/src/model/MixedPropertiesAndAdditionalPropertiesClass.js
index e92184fcf2d..057d7256a65 100644
--- a/samples/client/petstore/javascript-promise/src/model/MixedPropertiesAndAdditionalPropertiesClass.js
+++ b/samples/client/petstore/javascript-promise/src/model/MixedPropertiesAndAdditionalPropertiesClass.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/Model200Response.js b/samples/client/petstore/javascript-promise/src/model/Model200Response.js
index 45ecd7bcbc3..fcc9504c30f 100644
--- a/samples/client/petstore/javascript-promise/src/model/Model200Response.js
+++ b/samples/client/petstore/javascript-promise/src/model/Model200Response.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/ModelReturn.js b/samples/client/petstore/javascript-promise/src/model/ModelReturn.js
index ba50a193fca..d218626864c 100644
--- a/samples/client/petstore/javascript-promise/src/model/ModelReturn.js
+++ b/samples/client/petstore/javascript-promise/src/model/ModelReturn.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/Name.js b/samples/client/petstore/javascript-promise/src/model/Name.js
index 77fe28677aa..44b004b2582 100644
--- a/samples/client/petstore/javascript-promise/src/model/Name.js
+++ b/samples/client/petstore/javascript-promise/src/model/Name.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/NumberOnly.js b/samples/client/petstore/javascript-promise/src/model/NumberOnly.js
index dd082b35f36..bba5fde5c92 100644
--- a/samples/client/petstore/javascript-promise/src/model/NumberOnly.js
+++ b/samples/client/petstore/javascript-promise/src/model/NumberOnly.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/Order.js b/samples/client/petstore/javascript-promise/src/model/Order.js
index 6e5659cfce0..e455167d94a 100644
--- a/samples/client/petstore/javascript-promise/src/model/Order.js
+++ b/samples/client/petstore/javascript-promise/src/model/Order.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/OuterComposite.js b/samples/client/petstore/javascript-promise/src/model/OuterComposite.js
index 3660cda183d..e0b1c679b89 100644
--- a/samples/client/petstore/javascript-promise/src/model/OuterComposite.js
+++ b/samples/client/petstore/javascript-promise/src/model/OuterComposite.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/OuterEnum.js b/samples/client/petstore/javascript-promise/src/model/OuterEnum.js
index 77242917208..9f3ad94a5fa 100644
--- a/samples/client/petstore/javascript-promise/src/model/OuterEnum.js
+++ b/samples/client/petstore/javascript-promise/src/model/OuterEnum.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/Pet.js b/samples/client/petstore/javascript-promise/src/model/Pet.js
index 422bab25fd1..eb83de036ae 100644
--- a/samples/client/petstore/javascript-promise/src/model/Pet.js
+++ b/samples/client/petstore/javascript-promise/src/model/Pet.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/ReadOnlyFirst.js b/samples/client/petstore/javascript-promise/src/model/ReadOnlyFirst.js
index 2c0cb780282..f9198309e65 100644
--- a/samples/client/petstore/javascript-promise/src/model/ReadOnlyFirst.js
+++ b/samples/client/petstore/javascript-promise/src/model/ReadOnlyFirst.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/SpecialModelName.js b/samples/client/petstore/javascript-promise/src/model/SpecialModelName.js
index b694729ee2a..a510a12f431 100644
--- a/samples/client/petstore/javascript-promise/src/model/SpecialModelName.js
+++ b/samples/client/petstore/javascript-promise/src/model/SpecialModelName.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/StringBooleanMap.js b/samples/client/petstore/javascript-promise/src/model/StringBooleanMap.js
index aa287f6cdc9..1bc5c4e59c6 100644
--- a/samples/client/petstore/javascript-promise/src/model/StringBooleanMap.js
+++ b/samples/client/petstore/javascript-promise/src/model/StringBooleanMap.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/Tag.js b/samples/client/petstore/javascript-promise/src/model/Tag.js
index 3ba4159ebb6..0aa84ec6e84 100644
--- a/samples/client/petstore/javascript-promise/src/model/Tag.js
+++ b/samples/client/petstore/javascript-promise/src/model/Tag.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript-promise/src/model/User.js b/samples/client/petstore/javascript-promise/src/model/User.js
index 8c500d4ae3c..345e29d95a3 100644
--- a/samples/client/petstore/javascript-promise/src/model/User.js
+++ b/samples/client/petstore/javascript-promise/src/model/User.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/.openapi-generator/VERSION b/samples/client/petstore/javascript/.openapi-generator/VERSION
index a6527129083..d077ffb477a 100644
--- a/samples/client/petstore/javascript/.openapi-generator/VERSION
+++ b/samples/client/petstore/javascript/.openapi-generator/VERSION
@@ -1 +1 @@
-3.3.2-SNAPSHOT
\ No newline at end of file
+3.3.4-SNAPSHOT
\ No newline at end of file
diff --git a/samples/client/petstore/javascript/README.md b/samples/client/petstore/javascript/README.md
index 5283d7248f6..a4152b97534 100644
--- a/samples/client/petstore/javascript/README.md
+++ b/samples/client/petstore/javascript/README.md
@@ -125,6 +125,7 @@ Class | Method | HTTP request | Description
*OpenApiPetstore.FakeApi* | [**testClientModel**](docs/FakeApi.md#testClientModel) | **PATCH** /fake | To test \"client\" model
*OpenApiPetstore.FakeApi* | [**testEndpointParameters**](docs/FakeApi.md#testEndpointParameters) | **POST** /fake | Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
*OpenApiPetstore.FakeApi* | [**testEnumParameters**](docs/FakeApi.md#testEnumParameters) | **GET** /fake | To test enum parameters
+*OpenApiPetstore.FakeApi* | [**testGroupParameters**](docs/FakeApi.md#testGroupParameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional)
*OpenApiPetstore.FakeApi* | [**testInlineAdditionalProperties**](docs/FakeApi.md#testInlineAdditionalProperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties
*OpenApiPetstore.FakeApi* | [**testJsonFormData**](docs/FakeApi.md#testJsonFormData) | **GET** /fake/jsonFormData | test json serialization of form data
*OpenApiPetstore.FakeClassnameTags123Api* | [**testClassname**](docs/FakeClassnameTags123Api.md#testClassname) | **PATCH** /fake_classname_test | To test class name in snake case
diff --git a/samples/client/petstore/javascript/docs/Category.md b/samples/client/petstore/javascript/docs/Category.md
index e3f934442ab..5c333f8f61f 100644
--- a/samples/client/petstore/javascript/docs/Category.md
+++ b/samples/client/petstore/javascript/docs/Category.md
@@ -4,6 +4,6 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **Number** | | [optional]
-**name** | **String** | | [optional]
+**name** | **String** | | [default to 'default-name']
diff --git a/samples/client/petstore/javascript/docs/FakeApi.md b/samples/client/petstore/javascript/docs/FakeApi.md
index c7d9c6de6c7..e656c039c76 100644
--- a/samples/client/petstore/javascript/docs/FakeApi.md
+++ b/samples/client/petstore/javascript/docs/FakeApi.md
@@ -13,6 +13,7 @@ Method | HTTP request | Description
[**testClientModel**](FakeApi.md#testClientModel) | **PATCH** /fake | To test \"client\" model
[**testEndpointParameters**](FakeApi.md#testEndpointParameters) | **POST** /fake | Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
[**testEnumParameters**](FakeApi.md#testEnumParameters) | **GET** /fake | To test enum parameters
+[**testGroupParameters**](FakeApi.md#testGroupParameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional)
[**testInlineAdditionalProperties**](FakeApi.md#testInlineAdditionalProperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties
[**testJsonFormData**](FakeApi.md#testJsonFormData) | **GET** /fake/jsonFormData | test json serialization of form data
@@ -462,6 +463,61 @@ No authorization required
- **Content-Type**: application/x-www-form-urlencoded
- **Accept**: Not defined
+
+# **testGroupParameters**
+> testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, opts)
+
+Fake endpoint to test group parameters (optional)
+
+Fake endpoint to test group parameters (optional)
+
+### Example
+```javascript
+var OpenApiPetstore = require('open_api_petstore');
+
+var apiInstance = new OpenApiPetstore.FakeApi();
+var requiredStringGroup = 56; // Number | Required String in group parameters
+var requiredBooleanGroup = true; // Boolean | Required Boolean in group parameters
+var requiredInt64Group = 789; // Number | Required Integer in group parameters
+var opts = {
+ 'stringGroup': 56, // Number | String in group parameters
+ 'booleanGroup': true, // Boolean | Boolean in group parameters
+ 'int64Group': 789 // Number | Integer in group parameters
+};
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+};
+apiInstance.testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, opts, callback);
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **requiredStringGroup** | **Number**| Required String in group parameters |
+ **requiredBooleanGroup** | **Boolean**| Required Boolean in group parameters |
+ **requiredInt64Group** | **Number**| Required Integer in group parameters |
+ **stringGroup** | **Number**| String in group parameters | [optional]
+ **booleanGroup** | **Boolean**| Boolean in group parameters | [optional]
+ **int64Group** | **Number**| Integer in group parameters | [optional]
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: Not defined
+
# **testInlineAdditionalProperties**
> testInlineAdditionalProperties(requestBody)
diff --git a/samples/client/petstore/javascript/src/ApiClient.js b/samples/client/petstore/javascript/src/ApiClient.js
index e5d21515ca0..07b9ab030ec 100644
--- a/samples/client/petstore/javascript/src/ApiClient.js
+++ b/samples/client/petstore/javascript/src/ApiClient.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
@@ -451,7 +451,7 @@
}
}
}
- } else if (bodyParam) {
+ } else if (bodyParam !== null && bodyParam !== undefined) {
request.send(bodyParam);
}
diff --git a/samples/client/petstore/javascript/src/api/AnotherFakeApi.js b/samples/client/petstore/javascript/src/api/AnotherFakeApi.js
index 3b2af03572a..09dce2f5058 100644
--- a/samples/client/petstore/javascript/src/api/AnotherFakeApi.js
+++ b/samples/client/petstore/javascript/src/api/AnotherFakeApi.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/api/FakeApi.js b/samples/client/petstore/javascript/src/api/FakeApi.js
index 9f3e8d2ebe2..3fe40393489 100644
--- a/samples/client/petstore/javascript/src/api/FakeApi.js
+++ b/samples/client/petstore/javascript/src/api/FakeApi.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
@@ -513,6 +513,75 @@
);
}
+ /**
+ * Callback function to receive the result of the testGroupParameters operation.
+ * @callback module:api/FakeApi~testGroupParametersCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Fake endpoint to test group parameters (optional)
+ * Fake endpoint to test group parameters (optional)
+ * @param {Number} requiredStringGroup Required String in group parameters
+ * @param {Boolean} requiredBooleanGroup Required Boolean in group parameters
+ * @param {Number} requiredInt64Group Required Integer in group parameters
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.stringGroup String in group parameters
+ * @param {Boolean} opts.booleanGroup Boolean in group parameters
+ * @param {Number} opts.int64Group Integer in group parameters
+ * @param {module:api/FakeApi~testGroupParametersCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ this.testGroupParameters = function(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, opts, callback) {
+ opts = opts || {};
+ var postBody = null;
+
+ // verify the required parameter 'requiredStringGroup' is set
+ if (requiredStringGroup === undefined || requiredStringGroup === null) {
+ throw new Error("Missing the required parameter 'requiredStringGroup' when calling testGroupParameters");
+ }
+
+ // verify the required parameter 'requiredBooleanGroup' is set
+ if (requiredBooleanGroup === undefined || requiredBooleanGroup === null) {
+ throw new Error("Missing the required parameter 'requiredBooleanGroup' when calling testGroupParameters");
+ }
+
+ // verify the required parameter 'requiredInt64Group' is set
+ if (requiredInt64Group === undefined || requiredInt64Group === null) {
+ throw new Error("Missing the required parameter 'requiredInt64Group' when calling testGroupParameters");
+ }
+
+
+ var pathParams = {
+ };
+ var queryParams = {
+ 'required_string_group': requiredStringGroup,
+ 'required_int64_group': requiredInt64Group,
+ 'string_group': opts['stringGroup'],
+ 'int64_group': opts['int64Group'],
+ };
+ var collectionQueryParams = {
+ };
+ var headerParams = {
+ 'required_boolean_group': requiredBooleanGroup,
+ 'boolean_group': opts['booleanGroup']
+ };
+ var formParams = {
+ };
+
+ var authNames = [];
+ var contentTypes = [];
+ var accepts = [];
+ var returnType = null;
+
+ return this.apiClient.callApi(
+ '/fake', 'DELETE',
+ pathParams, queryParams, collectionQueryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, callback
+ );
+ }
+
/**
* Callback function to receive the result of the testInlineAdditionalProperties operation.
* @callback module:api/FakeApi~testInlineAdditionalPropertiesCallback
diff --git a/samples/client/petstore/javascript/src/api/FakeClassnameTags123Api.js b/samples/client/petstore/javascript/src/api/FakeClassnameTags123Api.js
index ca878d474b1..55669c688d4 100644
--- a/samples/client/petstore/javascript/src/api/FakeClassnameTags123Api.js
+++ b/samples/client/petstore/javascript/src/api/FakeClassnameTags123Api.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/api/PetApi.js b/samples/client/petstore/javascript/src/api/PetApi.js
index 834ab1f71aa..6ccf6a102e0 100644
--- a/samples/client/petstore/javascript/src/api/PetApi.js
+++ b/samples/client/petstore/javascript/src/api/PetApi.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/api/StoreApi.js b/samples/client/petstore/javascript/src/api/StoreApi.js
index 658de0dd20b..ef6f1713a7d 100644
--- a/samples/client/petstore/javascript/src/api/StoreApi.js
+++ b/samples/client/petstore/javascript/src/api/StoreApi.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/api/UserApi.js b/samples/client/petstore/javascript/src/api/UserApi.js
index f5daf5012d2..faf8be95f1e 100644
--- a/samples/client/petstore/javascript/src/api/UserApi.js
+++ b/samples/client/petstore/javascript/src/api/UserApi.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/index.js b/samples/client/petstore/javascript/src/index.js
index f7de11f4e55..e00b58c4016 100644
--- a/samples/client/petstore/javascript/src/index.js
+++ b/samples/client/petstore/javascript/src/index.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/AdditionalPropertiesClass.js b/samples/client/petstore/javascript/src/model/AdditionalPropertiesClass.js
index aa85406e6a6..0d48ba4f187 100644
--- a/samples/client/petstore/javascript/src/model/AdditionalPropertiesClass.js
+++ b/samples/client/petstore/javascript/src/model/AdditionalPropertiesClass.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/Animal.js b/samples/client/petstore/javascript/src/model/Animal.js
index 1c26f336515..8e654bb67e2 100644
--- a/samples/client/petstore/javascript/src/model/Animal.js
+++ b/samples/client/petstore/javascript/src/model/Animal.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/AnimalFarm.js b/samples/client/petstore/javascript/src/model/AnimalFarm.js
index 1186bb4b207..ad8a9a2549b 100644
--- a/samples/client/petstore/javascript/src/model/AnimalFarm.js
+++ b/samples/client/petstore/javascript/src/model/AnimalFarm.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/ApiResponse.js b/samples/client/petstore/javascript/src/model/ApiResponse.js
index 8a5161ed12d..b828a05a2bd 100644
--- a/samples/client/petstore/javascript/src/model/ApiResponse.js
+++ b/samples/client/petstore/javascript/src/model/ApiResponse.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/ArrayOfArrayOfNumberOnly.js b/samples/client/petstore/javascript/src/model/ArrayOfArrayOfNumberOnly.js
index aa150c35acc..a37b20ccca0 100644
--- a/samples/client/petstore/javascript/src/model/ArrayOfArrayOfNumberOnly.js
+++ b/samples/client/petstore/javascript/src/model/ArrayOfArrayOfNumberOnly.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/ArrayOfNumberOnly.js b/samples/client/petstore/javascript/src/model/ArrayOfNumberOnly.js
index c0a345a76b1..b8acf5a198a 100644
--- a/samples/client/petstore/javascript/src/model/ArrayOfNumberOnly.js
+++ b/samples/client/petstore/javascript/src/model/ArrayOfNumberOnly.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/ArrayTest.js b/samples/client/petstore/javascript/src/model/ArrayTest.js
index 955463cf2ce..b9a9200a502 100644
--- a/samples/client/petstore/javascript/src/model/ArrayTest.js
+++ b/samples/client/petstore/javascript/src/model/ArrayTest.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/Capitalization.js b/samples/client/petstore/javascript/src/model/Capitalization.js
index 2f960c5b9ef..a8363bf0330 100644
--- a/samples/client/petstore/javascript/src/model/Capitalization.js
+++ b/samples/client/petstore/javascript/src/model/Capitalization.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/Cat.js b/samples/client/petstore/javascript/src/model/Cat.js
index 20131cfe2d1..7d781b51be0 100644
--- a/samples/client/petstore/javascript/src/model/Cat.js
+++ b/samples/client/petstore/javascript/src/model/Cat.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/Category.js b/samples/client/petstore/javascript/src/model/Category.js
index bd9d7e54685..9512d0bc236 100644
--- a/samples/client/petstore/javascript/src/model/Category.js
+++ b/samples/client/petstore/javascript/src/model/Category.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
@@ -42,10 +42,12 @@
* Constructs a new Category
.
* @alias module:model/Category
* @class
+ * @param name {String}
*/
- var exports = function() {
+ var exports = function(name) {
var _this = this;
+ _this['name'] = name;
};
/**
@@ -74,8 +76,9 @@
exports.prototype['id'] = undefined;
/**
* @member {String} name
+ * @default 'default-name'
*/
- exports.prototype['name'] = undefined;
+ exports.prototype['name'] = 'default-name';
diff --git a/samples/client/petstore/javascript/src/model/ClassModel.js b/samples/client/petstore/javascript/src/model/ClassModel.js
index a1208fdd575..6ae2d532ca1 100644
--- a/samples/client/petstore/javascript/src/model/ClassModel.js
+++ b/samples/client/petstore/javascript/src/model/ClassModel.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/Client.js b/samples/client/petstore/javascript/src/model/Client.js
index e2af3bfa10f..d5dd5500fa7 100644
--- a/samples/client/petstore/javascript/src/model/Client.js
+++ b/samples/client/petstore/javascript/src/model/Client.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/Dog.js b/samples/client/petstore/javascript/src/model/Dog.js
index f5a73c3bca8..1a9f2e24b45 100644
--- a/samples/client/petstore/javascript/src/model/Dog.js
+++ b/samples/client/petstore/javascript/src/model/Dog.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/EnumArrays.js b/samples/client/petstore/javascript/src/model/EnumArrays.js
index c0c93dfecb7..e147e6f5b73 100644
--- a/samples/client/petstore/javascript/src/model/EnumArrays.js
+++ b/samples/client/petstore/javascript/src/model/EnumArrays.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/EnumClass.js b/samples/client/petstore/javascript/src/model/EnumClass.js
index be0e548d3ff..6548a6a2e3c 100644
--- a/samples/client/petstore/javascript/src/model/EnumClass.js
+++ b/samples/client/petstore/javascript/src/model/EnumClass.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/EnumTest.js b/samples/client/petstore/javascript/src/model/EnumTest.js
index b0c37e129bc..c0ab8d67788 100644
--- a/samples/client/petstore/javascript/src/model/EnumTest.js
+++ b/samples/client/petstore/javascript/src/model/EnumTest.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/File.js b/samples/client/petstore/javascript/src/model/File.js
index eb5bd17d80b..9ce05336134 100644
--- a/samples/client/petstore/javascript/src/model/File.js
+++ b/samples/client/petstore/javascript/src/model/File.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/FileSchemaTestClass.js b/samples/client/petstore/javascript/src/model/FileSchemaTestClass.js
index 93a23dcbd7b..5863d01f6ad 100644
--- a/samples/client/petstore/javascript/src/model/FileSchemaTestClass.js
+++ b/samples/client/petstore/javascript/src/model/FileSchemaTestClass.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/FormatTest.js b/samples/client/petstore/javascript/src/model/FormatTest.js
index 63b9b283299..3df6cc6cfe4 100644
--- a/samples/client/petstore/javascript/src/model/FormatTest.js
+++ b/samples/client/petstore/javascript/src/model/FormatTest.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/HasOnlyReadOnly.js b/samples/client/petstore/javascript/src/model/HasOnlyReadOnly.js
index 817af5d86b7..81fcd418208 100644
--- a/samples/client/petstore/javascript/src/model/HasOnlyReadOnly.js
+++ b/samples/client/petstore/javascript/src/model/HasOnlyReadOnly.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/List.js b/samples/client/petstore/javascript/src/model/List.js
index 4412a32c822..b25bf17304f 100644
--- a/samples/client/petstore/javascript/src/model/List.js
+++ b/samples/client/petstore/javascript/src/model/List.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/MapTest.js b/samples/client/petstore/javascript/src/model/MapTest.js
index f5499f47517..790f79f35d9 100644
--- a/samples/client/petstore/javascript/src/model/MapTest.js
+++ b/samples/client/petstore/javascript/src/model/MapTest.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/MixedPropertiesAndAdditionalPropertiesClass.js b/samples/client/petstore/javascript/src/model/MixedPropertiesAndAdditionalPropertiesClass.js
index e92184fcf2d..057d7256a65 100644
--- a/samples/client/petstore/javascript/src/model/MixedPropertiesAndAdditionalPropertiesClass.js
+++ b/samples/client/petstore/javascript/src/model/MixedPropertiesAndAdditionalPropertiesClass.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/Model200Response.js b/samples/client/petstore/javascript/src/model/Model200Response.js
index 45ecd7bcbc3..fcc9504c30f 100644
--- a/samples/client/petstore/javascript/src/model/Model200Response.js
+++ b/samples/client/petstore/javascript/src/model/Model200Response.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/ModelReturn.js b/samples/client/petstore/javascript/src/model/ModelReturn.js
index ba50a193fca..d218626864c 100644
--- a/samples/client/petstore/javascript/src/model/ModelReturn.js
+++ b/samples/client/petstore/javascript/src/model/ModelReturn.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/Name.js b/samples/client/petstore/javascript/src/model/Name.js
index 77fe28677aa..44b004b2582 100644
--- a/samples/client/petstore/javascript/src/model/Name.js
+++ b/samples/client/petstore/javascript/src/model/Name.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/NumberOnly.js b/samples/client/petstore/javascript/src/model/NumberOnly.js
index dd082b35f36..bba5fde5c92 100644
--- a/samples/client/petstore/javascript/src/model/NumberOnly.js
+++ b/samples/client/petstore/javascript/src/model/NumberOnly.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/Order.js b/samples/client/petstore/javascript/src/model/Order.js
index 6e5659cfce0..e455167d94a 100644
--- a/samples/client/petstore/javascript/src/model/Order.js
+++ b/samples/client/petstore/javascript/src/model/Order.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/OuterComposite.js b/samples/client/petstore/javascript/src/model/OuterComposite.js
index 3660cda183d..e0b1c679b89 100644
--- a/samples/client/petstore/javascript/src/model/OuterComposite.js
+++ b/samples/client/petstore/javascript/src/model/OuterComposite.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/OuterEnum.js b/samples/client/petstore/javascript/src/model/OuterEnum.js
index 77242917208..9f3ad94a5fa 100644
--- a/samples/client/petstore/javascript/src/model/OuterEnum.js
+++ b/samples/client/petstore/javascript/src/model/OuterEnum.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/Pet.js b/samples/client/petstore/javascript/src/model/Pet.js
index 422bab25fd1..eb83de036ae 100644
--- a/samples/client/petstore/javascript/src/model/Pet.js
+++ b/samples/client/petstore/javascript/src/model/Pet.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/ReadOnlyFirst.js b/samples/client/petstore/javascript/src/model/ReadOnlyFirst.js
index 2c0cb780282..f9198309e65 100644
--- a/samples/client/petstore/javascript/src/model/ReadOnlyFirst.js
+++ b/samples/client/petstore/javascript/src/model/ReadOnlyFirst.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/SpecialModelName.js b/samples/client/petstore/javascript/src/model/SpecialModelName.js
index b694729ee2a..a510a12f431 100644
--- a/samples/client/petstore/javascript/src/model/SpecialModelName.js
+++ b/samples/client/petstore/javascript/src/model/SpecialModelName.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/StringBooleanMap.js b/samples/client/petstore/javascript/src/model/StringBooleanMap.js
index aa287f6cdc9..1bc5c4e59c6 100644
--- a/samples/client/petstore/javascript/src/model/StringBooleanMap.js
+++ b/samples/client/petstore/javascript/src/model/StringBooleanMap.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/Tag.js b/samples/client/petstore/javascript/src/model/Tag.js
index 3ba4159ebb6..0aa84ec6e84 100644
--- a/samples/client/petstore/javascript/src/model/Tag.js
+++ b/samples/client/petstore/javascript/src/model/Tag.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*
diff --git a/samples/client/petstore/javascript/src/model/User.js b/samples/client/petstore/javascript/src/model/User.js
index 8c500d4ae3c..345e29d95a3 100644
--- a/samples/client/petstore/javascript/src/model/User.js
+++ b/samples/client/petstore/javascript/src/model/User.js
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
- * OpenAPI Generator version: 3.3.2-SNAPSHOT
+ * OpenAPI Generator version: 3.3.4-SNAPSHOT
*
* Do not edit the class manually.
*