[JavaScript] add enum tests cases for JS generator (java) (#3546)

* add enum tests cases for JS generator (java)

* fix typo quote
This commit is contained in:
wing328
2016-08-08 18:52:24 +08:00
committed by GitHub
parent ad3d9cd3b4
commit 7a245e3189
34 changed files with 1518 additions and 87 deletions

View File

@@ -64,8 +64,8 @@
* @type {Array.<String>}
*/
this.authentications = {
'petstore_auth': {type: 'oauth2'},
'api_key': {type: 'apiKey', 'in': 'header', name: 'api_key'}
'api_key': {type: 'apiKey', 'in': 'header', name: 'api_key'},
'petstore_auth': {type: 'oauth2'}
};
/**
* The default HTTP headers to be included for all API calls.