fix duplicate call in JS (#1270)

This commit is contained in:
William Cheng
2018-10-26 18:28:37 +08:00
committed by GitHub
parent 1b115bb4f7
commit 3b53ac435f
107 changed files with 165 additions and 441 deletions

View File

@@ -455,7 +455,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).then(() => {
console.log('API called successfully.');
}, (error) => {

View File

@@ -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>

View File

@@ -171,7 +171,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).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {