forked from loafle/openapi-generator-original
fix duplicate call in JS (#1270)
This commit is contained in:
@@ -1 +1 @@
|
||||
3.3.0-SNAPSHOT
|
||||
3.3.2-SNAPSHOT
|
||||
@@ -464,7 +464,7 @@ test inline additionalProperties
|
||||
import OpenApiPetstore from 'open_api_petstore';
|
||||
|
||||
let apiInstance = new OpenApiPetstore.FakeApi();
|
||||
let requestBody = {key: "inner_example"}; // {String: String} | request body
|
||||
let requestBody = {key: "null"}; // {String: String} | request body
|
||||
apiInstance.testInlineAdditionalProperties(requestBody, (error, data, response) => {
|
||||
if (error) {
|
||||
console.error(error);
|
||||
|
||||
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
||||
**mapMapOfString** | **{String: {String: String}}** | | [optional]
|
||||
**mapOfEnumString** | **{String: String}** | | [optional]
|
||||
**directMap** | **{String: Boolean}** | | [optional]
|
||||
**indirectMap** | [**StringBooleanMap**](StringBooleanMap.md) | | [optional]
|
||||
**indirectMap** | **{String: Boolean}** | | [optional]
|
||||
|
||||
|
||||
<a name="{String: String}"></a>
|
||||
|
||||
@@ -174,7 +174,7 @@ let petstore_auth = defaultClient.authentications['petstore_auth'];
|
||||
petstore_auth.accessToken = 'YOUR ACCESS TOKEN';
|
||||
|
||||
let apiInstance = new OpenApiPetstore.PetApi();
|
||||
let tags = ["inner_example"]; // [String] | Tags to filter by
|
||||
let tags = ["null"]; // [String] | Tags to filter by
|
||||
apiInstance.findPetsByTags(tags, (error, data, response) => {
|
||||
if (error) {
|
||||
console.error(error);
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
*/
|
||||
|
||||
import ApiClient from '../ApiClient';
|
||||
import StringBooleanMap from './StringBooleanMap';
|
||||
|
||||
/**
|
||||
* The MapTest model module.
|
||||
@@ -58,7 +57,7 @@ class MapTest {
|
||||
obj['direct_map'] = ApiClient.convertToType(data['direct_map'], {'String': 'Boolean'});
|
||||
}
|
||||
if (data.hasOwnProperty('indirect_map')) {
|
||||
obj['indirect_map'] = StringBooleanMap.constructFromObject(data['indirect_map']);
|
||||
obj['indirect_map'] = ApiClient.convertToType(data['indirect_map'], {'String': 'Boolean'});
|
||||
}
|
||||
}
|
||||
return obj;
|
||||
@@ -83,7 +82,7 @@ MapTest.prototype['map_of_enum_string'] = undefined;
|
||||
MapTest.prototype['direct_map'] = undefined;
|
||||
|
||||
/**
|
||||
* @member {module:model/StringBooleanMap} indirect_map
|
||||
* @member {Object.<String, Boolean>} indirect_map
|
||||
*/
|
||||
MapTest.prototype['indirect_map'] = undefined;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user