Halil İbrahim Şener 1f9f8c5a3e [JavaScript] Fix licenseNames (#6605)
* [JavaScript] Fix licenseName in package.mustache

* Fix invalid SPDX license expression in resources/2_0

* Update JavaScript samples
2017-10-08 17:15:21 +08:00

1.2 KiB

SwaggerPetstore.AnotherFakeApi

All URIs are relative to http://petstore.swagger.io:80/v2

Method HTTP request Description
testSpecialTags PATCH /another-fake/dummy To test special tags

testSpecialTags

Client testSpecialTags(body)

To test special tags

To test special tags

Example

var SwaggerPetstore = require('swagger_petstore');

var apiInstance = new SwaggerPetstore.AnotherFakeApi();

var body = new SwaggerPetstore.Client(); // Client | client model


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.testSpecialTags(body, callback);

Parameters

Name Type Description Notes
body Client client model

Return type

Client

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json