mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-25 19:10:55 +00:00
* restore js petstore from codegen 2x * update js petstore with oas2, fix example values * remove comment code in js generator
1.2 KiB
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
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json