forked from loafle/openapi-generator-original
Regenerate samples (#367)
This commit is contained in:
committed by
William Cheng
parent
bbd2afdd0a
commit
059a3efe46
@@ -1,4 +1,4 @@
|
||||
# SwaggerPetstore.AnotherFakeApi
|
||||
# OpenApiPetstore.AnotherFakeApi
|
||||
|
||||
All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
@@ -9,7 +9,7 @@ Method | HTTP request | Description
|
||||
|
||||
<a name="testSpecialTags"></a>
|
||||
# **testSpecialTags**
|
||||
> Client testSpecialTags(body)
|
||||
> Client testSpecialTags(client)
|
||||
|
||||
To test special tags
|
||||
|
||||
@@ -17,13 +17,10 @@ To test special tags
|
||||
|
||||
### Example
|
||||
```javascript
|
||||
var SwaggerPetstore = require('swagger_petstore');
|
||||
|
||||
var apiInstance = new SwaggerPetstore.AnotherFakeApi();
|
||||
|
||||
var body = new SwaggerPetstore.Client(); // Client | client model
|
||||
|
||||
var OpenApiPetstore = require('open_api_petstore');
|
||||
|
||||
var apiInstance = new OpenApiPetstore.AnotherFakeApi();
|
||||
var client = new OpenApiPetstore.Client(); // Client | client model
|
||||
var callback = function(error, data, response) {
|
||||
if (error) {
|
||||
console.error(error);
|
||||
@@ -31,14 +28,14 @@ var callback = function(error, data, response) {
|
||||
console.log('API called successfully. Returned data: ' + data);
|
||||
}
|
||||
};
|
||||
apiInstance.testSpecialTags(body, callback);
|
||||
apiInstance.testSpecialTags(client, callback);
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**body** | [**Client**](Client.md)| client model |
|
||||
**client** | [**Client**](Client.md)| client model |
|
||||
|
||||
### Return type
|
||||
|
||||
|
||||
Reference in New Issue
Block a user