mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-20 20:17:12 +00:00
[JS] fix template directory for ES5 (#6253)
* fix #5845 (template dir) * fix js petstore test case
This commit is contained in:
@@ -14,7 +14,8 @@ describe('ApiClient', function() {
|
||||
expect(apiClient.authentications).to.eql({
|
||||
petstore_auth: {type: 'oauth2'},
|
||||
http_basic_test: {type: 'basic'},
|
||||
api_key: {type: 'apiKey', 'in': 'header', name: 'api_key'}
|
||||
api_key: {type: 'apiKey', 'in': 'header', name: 'api_key'},
|
||||
api_key_query: {type: 'apiKey', 'in': 'query', name: 'api_key_query'},
|
||||
/* commented out the following as these fake security def (testing purpose)
|
||||
* has been removed from the spec, we'll add it back after updating the
|
||||
* petstore server
|
||||
|
||||
Reference in New Issue
Block a user