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:
@@ -64,7 +64,7 @@ Returns a map of status codes to quantities
|
||||
### Example
|
||||
```javascript
|
||||
var SwaggerPetstore = require('swagger_petstore');
|
||||
var defaultClient = SwaggerPetstore.ApiClient.default;
|
||||
var defaultClient = SwaggerPetstore.ApiClient.instance;
|
||||
|
||||
// Configure API key authorization: api_key
|
||||
var api_key = defaultClient.authentications['api_key'];
|
||||
|
||||
Reference in New Issue
Block a user