forked from loafle/openapi-generator-original
[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:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user