forked from loafle/openapi-generator-original
[JS] fix template directory for ES5 (#6253)
* fix #5845 (template dir) * fix js petstore test case
This commit is contained in:
@@ -16,6 +16,13 @@ To test class name in snake case
|
||||
### Example
|
||||
```javascript
|
||||
var SwaggerPetstore = require('swagger_petstore');
|
||||
var defaultClient = SwaggerPetstore.ApiClient.instance;
|
||||
|
||||
// Configure API key authorization: api_key_query
|
||||
var api_key_query = defaultClient.authentications['api_key_query'];
|
||||
api_key_query.apiKey = 'YOUR API KEY';
|
||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
||||
//api_key_query.apiKeyPrefix = 'Token';
|
||||
|
||||
var apiInstance = new SwaggerPetstore.Fake_classname_tags123Api();
|
||||
|
||||
@@ -41,7 +48,7 @@ Name | Type | Description | Notes
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
[api_key_query](../README.md#api_key_query)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
|
||||
Reference in New Issue
Block a user