Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,11 @@ Please follow the [installation](#installation) instruction and execute the foll
```javascript
var OneLoginApi = require('one_login_api');

// You can use either Client or DefaultApi - they are aliases
var api = new OneLoginApi.Client()
// or
// var api = new OneLoginApi.DefaultApi()

var api = new OneLoginApi.DefaultApi()
var authorization = "authorization_example"; // {String}
var userId = 56; // {Number} Set to the id of the user.
var activateFactorRequest = new OneLoginApi.ActivateFactorRequest(); // {ActivateFactorRequest}
Expand Down
3 changes: 3 additions & 0 deletions api/apis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ export class HttpError extends Error {
export { RequestFile } from '../model/models';

export const APIS = [DefaultApi];

// Export Client as an alias to DefaultApi for better compatibility
export { DefaultApi as Client };