Generate type annotations in JS model constructors

Fixes #3207
This commit is contained in:
delenius
2016-06-29 13:49:02 -07:00
parent 40e497088a
commit 8a8e9432e1
18 changed files with 46 additions and 46 deletions

View File

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