Merge pull request #3364 from michaelkourlas/michaelkourlas-patch-1

Correct reference to ApiClient default instance
This commit is contained in:
wing328 2016-07-19 13:44:52 +08:00 committed by GitHub
commit 77097ec76a

View File

@ -58,7 +58,7 @@ Please follow the [installation](#installation) instruction and execute the foll
```javascript
var {{{moduleName}}} = require('{{{projectName}}}');
{{#apiInfo}}{{#apis}}{{#-first}}{{#operations}}{{#operation}}{{#-first}}{{#hasAuthMethods}}
var defaultClient = {{{moduleName}}}.ApiClient.default;
var defaultClient = {{{moduleName}}}.ApiClient.instance;
{{#authMethods}}{{#isBasic}}
// Configure HTTP basic authorization: {{{name}}}
var {{{name}}} = defaultClient.authentications['{{{name}}}'];