William Cheng fdeca629bb
Update JS petstore with OAS2, fix example values (#168)
* restore js petstore from codegen 2x

* update js petstore with oas2, fix example values

* remove comment code in js generator
2018-04-21 11:49:02 +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(client)

To test special tags

To test special tags

Example

var SwaggerPetstore = require('swagger_petstore');

var apiInstance = new SwaggerPetstore.AnotherFakeApi();
var client = 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(client, callback);

Parameters

Name Type Description Notes
client Client client model

Return type

Client

Authorization

No authorization required

HTTP request headers

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