mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-05 18:56:10 +00:00
[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
|
||||
import SwaggerPetstore from 'swagger_petstore';
|
||||
let defaultClient = SwaggerPetstore.ApiClient.instance;
|
||||
|
||||
// Configure API key authorization: api_key_query
|
||||
let 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';
|
||||
|
||||
let apiInstance = new SwaggerPetstore.Fake_classname_tags123Api();
|
||||
|
||||
@@ -43,7 +50,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