[JS] fix template directory for ES5 (#6253)

* fix #5845 (template dir)

* fix js petstore test case
This commit is contained in:
wing328
2017-08-07 22:10:56 +08:00
committed by GitHub
parent 43e53dadda
commit fca8d81b2b
18 changed files with 71 additions and 14 deletions

View File

@@ -42,6 +42,7 @@ export default class ApiClient {
*/
this.authentications = {
'api_key': {type: 'apiKey', 'in': 'header', name: 'api_key'},
'api_key_query': {type: 'apiKey', 'in': 'query', name: 'api_key_query'},
'http_basic_test': {type: 'basic'},
'petstore_auth': {type: 'oauth2'}
}