Stian Liknes 24104dac35 Add option modelPropertyNaming to javascript generator (#299)
* Add option modelPropertyNaming to javascript generator

Fixes 6530

* Update Petstore sample
2018-06-14 19:19:23 +08:00

1.1 KiB

OpenApiPetstore.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

import OpenApiPetstore from 'open_api_petstore';

let apiInstance = new OpenApiPetstore.AnotherFakeApi();
let client = new OpenApiPetstore.Client(); // Client | client model
apiInstance.testSpecialTags(client, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

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