[JavaScript] Minor fix to JS doc and add swagger-codegen version to the file header (#5623)

* fix JS doc using instance instead of default

* update JS header with codegen version

* roll back change in swagger codegen version in pom.xml
This commit is contained in:
wing328
2017-05-12 16:49:20 +08:00
committed by GitHub
parent eaa2dc6d21
commit 68864a2eea
86 changed files with 260 additions and 23 deletions

View File

@@ -66,7 +66,7 @@ Fake endpoint for testing various parameters 假端點 偽のエンドポイン
### Example
```javascript
var SwaggerPetstore = require('swagger_petstore');
var defaultClient = SwaggerPetstore.ApiClient.default;
var defaultClient = SwaggerPetstore.ApiClient.instance;
// Configure HTTP basic authorization: http_basic_test
var http_basic_test = defaultClient.authentications['http_basic_test'];